

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="Description" content="scikit-learn: machine learning in Python">

  
  <title>Version 0.12.1 &mdash; scikit-learn 0.22 documentation</title>
  
  <link rel="canonical" href="http://scikit-learn.org/stable/whats_new/older_versions.html" />

  
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
  

  <link rel="stylesheet" href="../_static/css/vendor/bootstrap.min.css" type="text/css" />
  <link rel="stylesheet" href="../_static/gallery.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script> 
</head>
<body>
<nav id="navbar" class="sk-docs-navbar navbar navbar-expand-md navbar-light bg-light py-0">
  <div class="container-fluid sk-docs-container px-0">
      <a class="navbar-brand py-0" href="../index.html">
        <img
          class="sk-brand-img"
          src="../_static/scikit-learn-logo-small.png"
          alt="logo"/>
      </a>
    <button
      id="sk-navbar-toggler"
      class="navbar-toggler"
      type="button"
      data-toggle="collapse"
      data-target="#navbarSupportedContent"
      aria-controls="navbarSupportedContent"
      aria-expanded="false"
      aria-label="Toggle navigation"
    >
      <span class="navbar-toggler-icon"></span>
    </button>

    <div class="sk-navbar-collapse collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav mr-auto">
        <li class="nav-item">
          <a class="sk-nav-link nav-link" href="../install.html">Install</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link" href="../user_guide.html">User Guide</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link" href="../modules/classes.html">API</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link" href="../auto_examples/index.html">Examples</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="../getting_started.html">Getting Started</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="../tutorial/index.html">Tutorial</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="../glossary.html">Glossary</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="../developers/index.html">Development</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="../faq.html">FAQ</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="../related_projects.html">Related packages</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="../roadmap.html">Roadmap</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="../about.html">About us</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="https://github.com/scikit-learn/scikit-learn">GitHub</a>
        </li>
        <li class="nav-item">
          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="https://scikit-learn.org/dev/versions.html">Other Versions</a>
        </li>
        <li class="nav-item dropdown nav-more-item-dropdown">
          <a class="sk-nav-link nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">More</a>
          <div class="dropdown-menu" aria-labelledby="navbarDropdown">
              <a class="sk-nav-dropdown-item dropdown-item" href="../getting_started.html">Getting Started</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="../tutorial/index.html">Tutorial</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="../glossary.html">Glossary</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="../developers/index.html">Development</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="../faq.html">FAQ</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="../related_projects.html">Related packages</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="../roadmap.html">Roadmap</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="../about.html">About us</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="https://github.com/scikit-learn/scikit-learn">GitHub</a>
              <a class="sk-nav-dropdown-item dropdown-item" href="https://scikit-learn.org/dev/versions.html">Other Versions</a>
          </div>
        </li>
      </ul>
      <div id="searchbox" role="search">
          <div class="searchformwrapper">
          <form class="search" action="../search.html" method="get">
            <input class="sk-search-text-input" type="text" name="q" aria-labelledby="searchlabel" />
            <input class="sk-search-text-btn" type="submit" value="Go" />
          </form>
          </div>
      </div>
    </div>
  </div>
</nav>
<div class="d-flex" id="sk-doc-wrapper">
    <input type="checkbox" name="sk-toggle-checkbox" id="sk-toggle-checkbox">
    <label id="sk-sidemenu-toggle" class="sk-btn-toggle-toc btn sk-btn-primary" for="sk-toggle-checkbox">Toggle Menu</label>
    <div id="sk-sidebar-wrapper" class="border-right">
      <div class="sk-sidebar-toc-wrapper">
        <div class="sk-sidebar-toc-logo">
          <a href="../index.html">
            <img
              class="sk-brand-img"
              src="../_static/scikit-learn-logo-small.png"
              alt="logo"/>
          </a>
        </div>
        <div class="btn-group w-100 mb-2" role="group" aria-label="rellinks">
            <a href="v0.13.html" role="button" class="btn sk-btn-rellink py-1" sk-rellink-tooltip="Version 0.13.1">Prev</a><a href="../whats_new.html" role="button" class="btn sk-btn-rellink py-1" sk-rellink-tooltip="Release History">Up</a>
            <a href="../roadmap.html" role="button" class="btn sk-btn-rellink py-1" sk-rellink-tooltip="Roadmap">Next</a>
        </div>
        <div class="alert alert-danger p-1 mb-2" role="alert">
          <p class="text-center mb-0">
          <strong>scikit-learn 0.22</strong><br/>
          <a href="http://scikit-learn.org/dev/versions.html">Other versions</a>
          </p>
        </div>
        <div class="alert alert-warning p-1 mb-2" role="alert">
          <p class="text-center mb-0">
            Please <a class="font-weight-bold" href="../about.html#citing-scikit-learn"><string>cite us</string></a> if you use the software.
          </p>
        </div>
          <div class="sk-sidebar-toc">
            <ul>
<li><a class="reference internal" href="#">Version 0.12.1</a><ul>
<li><a class="reference internal" href="#changelog">Changelog</a></li>
<li><a class="reference internal" href="#people">People</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-12">Version 0.12</a><ul>
<li><a class="reference internal" href="#id1">Changelog</a></li>
<li><a class="reference internal" href="#api-changes-summary">API changes summary</a></li>
<li><a class="reference internal" href="#id2">People</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-11">Version 0.11</a><ul>
<li><a class="reference internal" href="#id3">Changelog</a><ul>
<li><a class="reference internal" href="#highlights">Highlights</a></li>
<li><a class="reference internal" href="#other-changes">Other changes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#id4">API changes summary</a></li>
<li><a class="reference internal" href="#id5">People</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-10">Version 0.10</a><ul>
<li><a class="reference internal" href="#id6">Changelog</a></li>
<li><a class="reference internal" href="#id7">API changes summary</a></li>
<li><a class="reference internal" href="#id8">People</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-9">Version 0.9</a><ul>
<li><a class="reference internal" href="#id9">Changelog</a></li>
<li><a class="reference internal" href="#id10">API changes summary</a></li>
<li><a class="reference internal" href="#id11">People</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-8">Version 0.8</a><ul>
<li><a class="reference internal" href="#id12">Changelog</a></li>
<li><a class="reference internal" href="#id13">People</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-7">Version 0.7</a><ul>
<li><a class="reference internal" href="#id14">Changelog</a></li>
<li><a class="reference internal" href="#id15">People</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-6">Version 0.6</a><ul>
<li><a class="reference internal" href="#id16">Changelog</a></li>
<li><a class="reference internal" href="#id17">People</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-5">Version 0.5</a><ul>
<li><a class="reference internal" href="#id18">Changelog</a></li>
<li><a class="reference internal" href="#new-classes">New classes</a></li>
<li><a class="reference internal" href="#documentation">Documentation</a></li>
<li><a class="reference internal" href="#fixes">Fixes</a></li>
<li><a class="reference internal" href="#examples">Examples</a></li>
<li><a class="reference internal" href="#external-dependencies">External dependencies</a></li>
<li><a class="reference internal" href="#removed-modules">Removed modules</a></li>
<li><a class="reference internal" href="#misc">Misc</a></li>
<li><a class="reference internal" href="#authors">Authors</a></li>
</ul>
</li>
<li><a class="reference internal" href="#version-0-4">Version 0.4</a><ul>
<li><a class="reference internal" href="#id19">Changelog</a></li>
<li><a class="reference internal" href="#id20">Authors</a></li>
</ul>
</li>
<li><a class="reference internal" href="#earlier-versions">Earlier versions</a></li>
</ul>

          </div>
      </div>
    </div>
    <div id="sk-page-content-wrapper">
      <div class="sk-page-content container-fluid body px-md-3" role="main">
        
  <div class="section" id="version-0-12-1">
<span id="changes-0-12-1"></span><h1>Version 0.12.1<a class="headerlink" href="#version-0-12-1" title="Permalink to this headline">¶</a></h1>
<p><strong>October 8, 2012</strong></p>
<p>The 0.12.1 release is a bug-fix release with no additional features, but is
instead a set of bug fixes</p>
<div class="section" id="changelog">
<h2>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Improved numerical stability in spectral embedding by <a class="reference external" href="http://gael-varoquaux.info">Gael
Varoquaux</a></p></li>
<li><p>Doctest under windows 64bit by <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>Documentation fixes for elastic net by <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a> and
<a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>Proper behavior with fortran-ordered NumPy arrays by <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>Make GridSearchCV work with non-CSR sparse matrix by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a></p></li>
<li><p>Fix parallel computing in MDS by <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>Fix Unicode support in count vectorizer by <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a></p></li>
<li><p>Fix MinCovDet breaking with X.shape = (3, 1) by <a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a></p></li>
<li><p>Fix clone of SGD objects by <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a></p></li>
<li><p>Stabilize GMM by <a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a></p></li>
</ul>
</div>
<div class="section" id="people">
<h2>People<a class="headerlink" href="#people" title="Permalink to this headline">¶</a></h2>
<blockquote>
<div><ul class="simple">
<li><p>14  <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a></p></li>
<li><p>12  <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>10  <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a></p></li>
<li><p>5  <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a></p></li>
<li><p>3  <a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a></p></li>
<li><p>1  <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>1  <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a></p></li>
<li><p>1  <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
</ul>
</div></blockquote>
</div>
</div>
<div class="section" id="version-0-12">
<span id="changes-0-12"></span><h1>Version 0.12<a class="headerlink" href="#version-0-12" title="Permalink to this headline">¶</a></h1>
<p><strong>September 4, 2012</strong></p>
<div class="section" id="id1">
<h2>Changelog<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Various speed improvements of the <a class="reference internal" href="../modules/tree.html#tree"><span class="std std-ref">decision trees</span></a> module, by
<a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.ensemble.GradientBoostingRegressor.html#sklearn.ensemble.GradientBoostingRegressor" title="sklearn.ensemble.GradientBoostingRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.GradientBoostingRegressor</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.ensemble.GradientBoostingClassifier.html#sklearn.ensemble.GradientBoostingClassifier" title="sklearn.ensemble.GradientBoostingClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.GradientBoostingClassifier</span></code></a> now support feature subsampling
via the <code class="docutils literal notranslate"><span class="pre">max_features</span></code> argument, by <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a>.</p></li>
<li><p>Added Huber and Quantile loss functions to
<a class="reference internal" href="../modules/generated/sklearn.ensemble.GradientBoostingRegressor.html#sklearn.ensemble.GradientBoostingRegressor" title="sklearn.ensemble.GradientBoostingRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.GradientBoostingRegressor</span></code></a>, by <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a>.</p></li>
<li><p><a class="reference internal" href="../modules/tree.html#tree"><span class="std std-ref">Decision trees</span></a> and <a class="reference internal" href="../modules/ensemble.html#forest"><span class="std std-ref">forests of randomized trees</span></a>
now support multi-output classification and regression problems, by
<a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.preprocessing.LabelEncoder.html#sklearn.preprocessing.LabelEncoder" title="sklearn.preprocessing.LabelEncoder"><code class="xref py py-class docutils literal notranslate"><span class="pre">preprocessing.LabelEncoder</span></code></a>, a simple utility class to
normalize labels or transform non-numerical labels, by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p>Added the epsilon-insensitive loss and the ability to make probabilistic
predictions with the modified huber loss in <a class="reference internal" href="../modules/sgd.html#sgd"><span class="std std-ref">Stochastic Gradient Descent</span></a>, by
<a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p>Added <a class="reference internal" href="../modules/manifold.html#multidimensional-scaling"><span class="std std-ref">Multi-dimensional Scaling (MDS)</span></a>, by Nelle Varoquaux.</p></li>
<li><p>SVMlight file format loader now detects compressed (gzip/bzip2) files and
decompresses them on the fly, by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>SVMlight file format serializer now preserves double precision floating
point values, by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>.</p></li>
<li><p>A common testing framework for all estimators was added, by <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>Understandable error messages for estimators that do not accept
sparse input by <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>Speedups in hierarchical clustering by <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>. In
particular building the tree now supports early stopping. This is
useful when the number of clusters is not small compared to the
number of samples.</p></li>
<li><p>Add MultiTaskLasso and MultiTaskElasticNet for joint feature selection,
by <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.</p></li>
<li><p>Added <code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.auc_score</span></code> and
<a class="reference internal" href="../modules/generated/sklearn.metrics.average_precision_score.html#sklearn.metrics.average_precision_score" title="sklearn.metrics.average_precision_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.average_precision_score</span></code></a> convenience functions by <a class="reference external" href="https://amueller.github.io/">Andreas
Müller</a>.</p></li>
<li><p>Improved sparse matrix support in the <a class="reference internal" href="../modules/feature_selection.html#feature-selection"><span class="std std-ref">Feature selection</span></a>
module by <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>New word boundaries-aware character n-gram analyzer for the
<a class="reference internal" href="../modules/feature_extraction.html#text-feature-extraction"><span class="std std-ref">Text feature extraction</span></a> module by <a class="reference external" href="https://github.com/kernc">&#64;kernc</a>.</p></li>
<li><p>Fixed bug in spectral clustering that led to single point clusters
by <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>In <a class="reference internal" href="../modules/generated/sklearn.feature_extraction.text.CountVectorizer.html#sklearn.feature_extraction.text.CountVectorizer" title="sklearn.feature_extraction.text.CountVectorizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">feature_extraction.text.CountVectorizer</span></code></a>, added an option to
ignore infrequent words, <code class="docutils literal notranslate"><span class="pre">min_df</span></code> by  <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>Add support for multiple targets in some linear models (ElasticNet, Lasso
and OrthogonalMatchingPursuit) by <a class="reference external" href="https://vene.ro/">Vlad Niculae</a> and
<a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.</p></li>
<li><p>Fixes in <code class="xref py py-class docutils literal notranslate"><span class="pre">decomposition.ProbabilisticPCA</span></code> score function by Wei Li.</p></li>
<li><p>Fixed feature importance computation in
<a class="reference internal" href="../modules/ensemble.html#gradient-boosting"><span class="std std-ref">Gradient Tree Boosting</span></a>.</p></li>
</ul>
</div>
<div class="section" id="api-changes-summary">
<h2>API changes summary<a class="headerlink" href="#api-changes-summary" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>The old <code class="docutils literal notranslate"><span class="pre">scikits.learn</span></code> package has disappeared; all code should import
from <code class="docutils literal notranslate"><span class="pre">sklearn</span></code> instead, which was introduced in 0.9.</p></li>
<li><p>In <a class="reference internal" href="../modules/generated/sklearn.metrics.roc_curve.html#sklearn.metrics.roc_curve" title="sklearn.metrics.roc_curve"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.roc_curve</span></code></a>, the <code class="docutils literal notranslate"><span class="pre">thresholds</span></code> array is now returned
with it’s order reversed, in order to keep it consistent with the order
of the returned <code class="docutils literal notranslate"><span class="pre">fpr</span></code> and <code class="docutils literal notranslate"><span class="pre">tpr</span></code>.</p></li>
<li><p>In <code class="xref py py-class docutils literal notranslate"><span class="pre">hmm</span></code> objects, like <code class="xref py py-class docutils literal notranslate"><span class="pre">hmm.GaussianHMM</span></code>,
<code class="xref py py-class docutils literal notranslate"><span class="pre">hmm.MultinomialHMM</span></code>, etc., all parameters must be passed to the
object when initialising it and not through <code class="docutils literal notranslate"><span class="pre">fit</span></code>. Now <code class="docutils literal notranslate"><span class="pre">fit</span></code> will
only accept the data as an input parameter.</p></li>
<li><p>For all SVM classes, a faulty behavior of <code class="docutils literal notranslate"><span class="pre">gamma</span></code> was fixed. Previously,
the default gamma value was only computed the first time <code class="docutils literal notranslate"><span class="pre">fit</span></code> was called
and then stored. It is now recalculated on every call to <code class="docutils literal notranslate"><span class="pre">fit</span></code>.</p></li>
<li><p>All <code class="docutils literal notranslate"><span class="pre">Base</span></code> classes are now abstract meta classes so that they can not be
instantiated.</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.cluster.ward_tree.html#sklearn.cluster.ward_tree" title="sklearn.cluster.ward_tree"><code class="xref py py-func docutils literal notranslate"><span class="pre">cluster.ward_tree</span></code></a> now also returns the parent array. This is
necessary for early-stopping in which case the tree is not
completely built.</p></li>
<li><p>In <a class="reference internal" href="../modules/generated/sklearn.feature_extraction.text.CountVectorizer.html#sklearn.feature_extraction.text.CountVectorizer" title="sklearn.feature_extraction.text.CountVectorizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">feature_extraction.text.CountVectorizer</span></code></a> the parameters
<code class="docutils literal notranslate"><span class="pre">min_n</span></code> and <code class="docutils literal notranslate"><span class="pre">max_n</span></code> were joined to the parameter <code class="docutils literal notranslate"><span class="pre">n_gram_range</span></code> to
enable grid-searching both at once.</p></li>
<li><p>In <a class="reference internal" href="../modules/generated/sklearn.feature_extraction.text.CountVectorizer.html#sklearn.feature_extraction.text.CountVectorizer" title="sklearn.feature_extraction.text.CountVectorizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">feature_extraction.text.CountVectorizer</span></code></a>, words that appear
only in one document are now ignored by default. To reproduce
the previous behavior, set <code class="docutils literal notranslate"><span class="pre">min_df=1</span></code>.</p></li>
<li><p>Fixed API inconsistency: <a class="reference internal" href="../modules/generated/sklearn.linear_model.SGDClassifier.html#sklearn.linear_model.SGDClassifier.predict_proba" title="sklearn.linear_model.SGDClassifier.predict_proba"><code class="xref py py-meth docutils literal notranslate"><span class="pre">linear_model.SGDClassifier.predict_proba</span></code></a> now
returns 2d array when fit on two classes.</p></li>
<li><p>Fixed API inconsistency: <a class="reference internal" href="../modules/generated/sklearn.discriminant_analysis.QuadraticDiscriminantAnalysis.html#sklearn.discriminant_analysis.QuadraticDiscriminantAnalysis.decision_function" title="sklearn.discriminant_analysis.QuadraticDiscriminantAnalysis.decision_function"><code class="xref py py-meth docutils literal notranslate"><span class="pre">discriminant_analysis.QuadraticDiscriminantAnalysis.decision_function</span></code></a>
and <a class="reference internal" href="../modules/generated/sklearn.discriminant_analysis.LinearDiscriminantAnalysis.html#sklearn.discriminant_analysis.LinearDiscriminantAnalysis.decision_function" title="sklearn.discriminant_analysis.LinearDiscriminantAnalysis.decision_function"><code class="xref py py-meth docutils literal notranslate"><span class="pre">discriminant_analysis.LinearDiscriminantAnalysis.decision_function</span></code></a> now return 1d arrays
when fit on two classes.</p></li>
<li><p>Grid of alphas used for fitting <a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoCV.html#sklearn.linear_model.LassoCV" title="sklearn.linear_model.LassoCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LassoCV</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.linear_model.ElasticNetCV.html#sklearn.linear_model.ElasticNetCV" title="sklearn.linear_model.ElasticNetCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.ElasticNetCV</span></code></a> is now stored
in the attribute <code class="docutils literal notranslate"><span class="pre">alphas_</span></code> rather than overriding the init parameter
<code class="docutils literal notranslate"><span class="pre">alphas</span></code>.</p></li>
<li><p>Linear models when alpha is estimated by cross-validation store
the estimated value in the <code class="docutils literal notranslate"><span class="pre">alpha_</span></code> attribute rather than just
<code class="docutils literal notranslate"><span class="pre">alpha</span></code> or <code class="docutils literal notranslate"><span class="pre">best_alpha</span></code>.</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.ensemble.GradientBoostingClassifier.html#sklearn.ensemble.GradientBoostingClassifier" title="sklearn.ensemble.GradientBoostingClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.GradientBoostingClassifier</span></code></a> now supports
<a class="reference internal" href="../modules/generated/sklearn.ensemble.GradientBoostingClassifier.html#sklearn.ensemble.GradientBoostingClassifier.staged_predict_proba" title="sklearn.ensemble.GradientBoostingClassifier.staged_predict_proba"><code class="xref py py-meth docutils literal notranslate"><span class="pre">ensemble.GradientBoostingClassifier.staged_predict_proba</span></code></a>, and
<a class="reference internal" href="../modules/generated/sklearn.ensemble.GradientBoostingClassifier.html#sklearn.ensemble.GradientBoostingClassifier.staged_predict" title="sklearn.ensemble.GradientBoostingClassifier.staged_predict"><code class="xref py py-meth docutils literal notranslate"><span class="pre">ensemble.GradientBoostingClassifier.staged_predict</span></code></a>.</p></li>
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">svm.sparse.SVC</span></code> and other sparse SVM classes are now deprecated.
The all classes in the <a class="reference internal" href="../modules/svm.html#svm"><span class="std std-ref">Support Vector Machines</span></a> module now automatically select the
sparse or dense representation base on the input.</p></li>
<li><p>All clustering algorithms now interpret the array <code class="docutils literal notranslate"><span class="pre">X</span></code> given to <code class="docutils literal notranslate"><span class="pre">fit</span></code> as
input data, in particular <a class="reference internal" href="../modules/generated/sklearn.cluster.SpectralClustering.html#sklearn.cluster.SpectralClustering" title="sklearn.cluster.SpectralClustering"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.SpectralClustering</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.cluster.AffinityPropagation.html#sklearn.cluster.AffinityPropagation" title="sklearn.cluster.AffinityPropagation"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.AffinityPropagation</span></code></a> which previously expected affinity matrices.</p></li>
<li><p>For clustering algorithms that take the desired number of clusters as a parameter,
this parameter is now called <code class="docutils literal notranslate"><span class="pre">n_clusters</span></code>.</p></li>
</ul>
</div>
<div class="section" id="id2">
<h2>People<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
<blockquote>
<div><ul class="simple">
<li><p>267  <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a></p></li>
<li><p>94  <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a></p></li>
<li><p>89  <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>79  <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a></p></li>
<li><p>60  <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p>57  <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>52  <a class="reference external" href="https://vene.ro/">Vlad Niculae</a></p></li>
<li><p>45  <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a></p></li>
<li><p>44  Nelle Varoquaux</p></li>
<li><p>37  <a class="reference external" href="https://github.com/jaquesgrobler">Jaques Grobler</a></p></li>
<li><p>30  Alexis Mignon</p></li>
<li><p>30  Immanuel Bayer</p></li>
<li><p>27  <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>16  Subhodeep Moitra</p></li>
<li><p>13  Yannick Schwartz</p></li>
<li><p>12  <a class="reference external" href="https://github.com/kernc">&#64;kernc</a></p></li>
<li><p>11  <a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a></p></li>
<li><p>9  Daniel Duckworth</p></li>
<li><p>9  <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a></p></li>
<li><p>9  <a class="reference external" href="https://twitter.com/robertlayton">Robert Layton</a></p></li>
<li><p>8  John Benediktsson</p></li>
<li><p>7  Marko Burjek</p></li>
<li><p>5  <a class="reference external" href="https://twitter.com/npinto">Nicolas Pinto</a></p></li>
<li><p>4  Alexandre Abraham</p></li>
<li><p>4  <a class="reference external" href="https://staff.washington.edu/jakevdp/">Jake Vanderplas</a></p></li>
<li><p>3  <a class="reference external" href="http://personal.ee.surrey.ac.uk/Personal/B.Holt">Brian Holt</a></p></li>
<li><p>3  <a class="reference external" href="https://sites.google.com/site/duchesnay/home">Edouard Duchesnay</a></p></li>
<li><p>3  Florian Hoenig</p></li>
<li><p>3  flyingimmidev</p></li>
<li><p>2  Francois Savard</p></li>
<li><p>2  Hannes Schulz</p></li>
<li><p>2  Peter Welinder</p></li>
<li><p>2  <a class="reference external" href="http://www.onerussian.com/">Yaroslav Halchenko</a></p></li>
<li><p>2  Wei Li</p></li>
<li><p>1  Alex Companioni</p></li>
<li><p>1  Brandyn A. White</p></li>
<li><p>1  Bussonnier Matthias</p></li>
<li><p>1  Charles-Pierre Astolfi</p></li>
<li><p>1  Dan O’Huiginn</p></li>
<li><p>1  David Cournapeau</p></li>
<li><p>1  Keith Goodman</p></li>
<li><p>1  Ludwig Schwardt</p></li>
<li><p>1  Olivier Hervieu</p></li>
<li><p>1  Sergio Medina</p></li>
<li><p>1  Shiqiao Du</p></li>
<li><p>1  Tim Sheerman-Chase</p></li>
<li><p>1  buguen</p></li>
</ul>
</div></blockquote>
</div>
</div>
<div class="section" id="version-0-11">
<span id="changes-0-11"></span><h1>Version 0.11<a class="headerlink" href="#version-0-11" title="Permalink to this headline">¶</a></h1>
<p><strong>May 7, 2012</strong></p>
<div class="section" id="id3">
<h2>Changelog<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
<div class="section" id="highlights">
<h3>Highlights<a class="headerlink" href="#highlights" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Gradient boosted regression trees (<a class="reference internal" href="../modules/ensemble.html#gradient-boosting"><span class="std std-ref">Gradient Tree Boosting</span></a>)
for classification and regression by <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a>
and <a class="reference external" href="https://twitter.com/scottblanc">Scott White</a> .</p></li>
<li><p>Simple dict-based feature loader with support for categorical variables
(<a class="reference internal" href="../modules/generated/sklearn.feature_extraction.DictVectorizer.html#sklearn.feature_extraction.DictVectorizer" title="sklearn.feature_extraction.DictVectorizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">feature_extraction.DictVectorizer</span></code></a>) by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>Added Matthews correlation coefficient (<a class="reference internal" href="../modules/generated/sklearn.metrics.matthews_corrcoef.html#sklearn.metrics.matthews_corrcoef" title="sklearn.metrics.matthews_corrcoef"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.matthews_corrcoef</span></code></a>)
and added macro and micro average options to
<a class="reference internal" href="../modules/generated/sklearn.metrics.precision_score.html#sklearn.metrics.precision_score" title="sklearn.metrics.precision_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.precision_score</span></code></a>, <a class="reference internal" href="../modules/generated/sklearn.metrics.recall_score.html#sklearn.metrics.recall_score" title="sklearn.metrics.recall_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.recall_score</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.metrics.f1_score.html#sklearn.metrics.f1_score" title="sklearn.metrics.f1_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.f1_score</span></code></a> by <a class="reference external" href="https://www.mit.edu/~satra/">Satrajit Ghosh</a>.</p></li>
<li><p><a class="reference internal" href="../modules/grid_search.html#out-of-bag"><span class="std std-ref">Out of Bag Estimates</span></a> of generalization error for <a class="reference internal" href="../modules/ensemble.html#ensemble"><span class="std std-ref">Ensemble methods</span></a>
by <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>Randomized sparse linear models for feature
selection, by <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a> and <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p><a class="reference internal" href="../modules/label_propagation.html#label-propagation"><span class="std std-ref">Label Propagation</span></a> for semi-supervised learning, by Clay
Woolam. <strong>Note</strong> the semi-supervised API is still work in progress,
and may change.</p></li>
<li><p>Added BIC/AIC model selection to classical <a class="reference internal" href="../modules/mixture.html#gmm"><span class="std std-ref">Gaussian mixture models</span></a> and unified
the API with the remainder of scikit-learn, by <a class="reference external" href="https://team.inria.fr/parietal/bertrand-thirions-page">Bertrand Thirion</a></p></li>
<li><p>Added <code class="xref py py-class docutils literal notranslate"><span class="pre">sklearn.cross_validation.StratifiedShuffleSplit</span></code>, which is
a <code class="xref py py-class docutils literal notranslate"><span class="pre">sklearn.cross_validation.ShuffleSplit</span></code> with balanced splits,
by Yannick Schwartz.</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.neighbors.NearestCentroid.html#sklearn.neighbors.NearestCentroid" title="sklearn.neighbors.NearestCentroid"><code class="xref py py-class docutils literal notranslate"><span class="pre">sklearn.neighbors.NearestCentroid</span></code></a> classifier added, along with a
<code class="docutils literal notranslate"><span class="pre">shrink_threshold</span></code> parameter, which implements <strong>shrunken centroid
classification</strong>, by <a class="reference external" href="https://twitter.com/robertlayton">Robert Layton</a>.</p></li>
</ul>
</div>
<div class="section" id="other-changes">
<h3>Other changes<a class="headerlink" href="#other-changes" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Merged dense and sparse implementations of <a class="reference internal" href="../modules/sgd.html#sgd"><span class="std std-ref">Stochastic Gradient Descent</span></a> module and
exposed utility extension types for sequential
datasets <code class="docutils literal notranslate"><span class="pre">seq_dataset</span></code> and weight vectors <code class="docutils literal notranslate"><span class="pre">weight_vector</span></code>
by <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a>.</p></li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">partial_fit</span></code> (support for online/minibatch learning) and
warm_start to the <a class="reference internal" href="../modules/sgd.html#sgd"><span class="std std-ref">Stochastic Gradient Descent</span></a> module by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p>Dense and sparse implementations of <a class="reference internal" href="../modules/svm.html#svm"><span class="std std-ref">Support Vector Machines</span></a> classes and
<a class="reference internal" href="../modules/generated/sklearn.linear_model.LogisticRegression.html#sklearn.linear_model.LogisticRegression" title="sklearn.linear_model.LogisticRegression"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LogisticRegression</span></code></a> merged by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>Regressors can now be used as base estimator in the <a class="reference internal" href="../modules/multiclass.html#multiclass"><span class="std std-ref">Multiclass and multilabel algorithms</span></a>
module by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p>Added n_jobs option to <code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.pairwise.pairwise_distances</span></code>
and <a class="reference internal" href="../modules/generated/sklearn.metrics.pairwise.pairwise_kernels.html#sklearn.metrics.pairwise.pairwise_kernels" title="sklearn.metrics.pairwise.pairwise_kernels"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.pairwise.pairwise_kernels</span></code></a> for parallel computation,
by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p><a class="reference internal" href="../modules/clustering.html#k-means"><span class="std std-ref">K-means</span></a> can now be run in parallel, using the <code class="docutils literal notranslate"><span class="pre">n_jobs</span></code> argument
to either <a class="reference internal" href="../modules/clustering.html#k-means"><span class="std std-ref">K-means</span></a> or <code class="xref py py-class docutils literal notranslate"><span class="pre">KMeans</span></code>, by <a class="reference external" href="https://twitter.com/robertlayton">Robert Layton</a>.</p></li>
<li><p>Improved <a class="reference internal" href="../modules/cross_validation.html#cross-validation"><span class="std std-ref">Cross-validation: evaluating estimator performance</span></a> and <a class="reference internal" href="../modules/grid_search.html#grid-search"><span class="std std-ref">Tuning the hyper-parameters of an estimator</span></a> documentation
and introduced the new <code class="xref py py-func docutils literal notranslate"><span class="pre">cross_validation.train_test_split</span></code>
helper function by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.svm.SVC.html#sklearn.svm.SVC" title="sklearn.svm.SVC"><code class="xref py py-class docutils literal notranslate"><span class="pre">svm.SVC</span></code></a> members <code class="docutils literal notranslate"><span class="pre">coef_</span></code> and <code class="docutils literal notranslate"><span class="pre">intercept_</span></code> changed sign for
consistency with <code class="docutils literal notranslate"><span class="pre">decision_function</span></code>; for <code class="docutils literal notranslate"><span class="pre">kernel==linear</span></code>,
<code class="docutils literal notranslate"><span class="pre">coef_</span></code> was fixed in the one-vs-one case, by <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>Performance improvements to efficient leave-one-out cross-validated
Ridge regression, esp. for the <code class="docutils literal notranslate"><span class="pre">n_samples</span> <span class="pre">&gt;</span> <span class="pre">n_features</span></code> case, in
<a class="reference internal" href="../modules/generated/sklearn.linear_model.RidgeCV.html#sklearn.linear_model.RidgeCV" title="sklearn.linear_model.RidgeCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.RidgeCV</span></code></a>, by Reuben Fletcher-Costin.</p></li>
<li><p>Refactoring and simplification of the <a class="reference internal" href="../modules/feature_extraction.html#text-feature-extraction"><span class="std std-ref">Text feature extraction</span></a>
API and fixed a bug that caused possible negative IDF,
by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>.</p></li>
<li><p>Beam pruning option in <code class="xref py py-class docutils literal notranslate"><span class="pre">_BaseHMM</span></code> module has been removed since it
is difficult to Cythonize. If you are interested in contributing a Cython
version, you can use the python version in the git history as a reference.</p></li>
<li><p>Classes in <a class="reference internal" href="../modules/neighbors.html#neighbors"><span class="std std-ref">Nearest Neighbors</span></a> now support arbitrary Minkowski metric for
nearest neighbors searches. The metric can be specified by argument <code class="docutils literal notranslate"><span class="pre">p</span></code>.</p></li>
</ul>
</div>
</div>
<div class="section" id="id4">
<h2>API changes summary<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">covariance.EllipticEnvelop</span></code> is now deprecated - Please use <a class="reference internal" href="../modules/generated/sklearn.covariance.EllipticEnvelope.html#sklearn.covariance.EllipticEnvelope" title="sklearn.covariance.EllipticEnvelope"><code class="xref py py-class docutils literal notranslate"><span class="pre">covariance.EllipticEnvelope</span></code></a>
instead.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">NeighborsClassifier</span></code> and <code class="docutils literal notranslate"><span class="pre">NeighborsRegressor</span></code> are gone in the module
<a class="reference internal" href="../modules/neighbors.html#neighbors"><span class="std std-ref">Nearest Neighbors</span></a>. Use the classes <code class="xref py py-class docutils literal notranslate"><span class="pre">KNeighborsClassifier</span></code>,
<code class="xref py py-class docutils literal notranslate"><span class="pre">RadiusNeighborsClassifier</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">KNeighborsRegressor</span></code>
and/or <code class="xref py py-class docutils literal notranslate"><span class="pre">RadiusNeighborsRegressor</span></code> instead.</p></li>
<li><p>Sparse classes in the <a class="reference internal" href="../modules/sgd.html#sgd"><span class="std std-ref">Stochastic Gradient Descent</span></a> module are now deprecated.</p></li>
<li><p>In <code class="xref py py-class docutils literal notranslate"><span class="pre">mixture.GMM</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">mixture.DPGMM</span></code> and <code class="xref py py-class docutils literal notranslate"><span class="pre">mixture.VBGMM</span></code>,
parameters must be passed to an object when initialising it and not through
<code class="docutils literal notranslate"><span class="pre">fit</span></code>. Now <code class="docutils literal notranslate"><span class="pre">fit</span></code> will only accept the data as an input parameter.</p></li>
<li><p>methods <code class="docutils literal notranslate"><span class="pre">rvs</span></code> and <code class="docutils literal notranslate"><span class="pre">decode</span></code> in <code class="xref py py-class docutils literal notranslate"><span class="pre">GMM</span></code> module are now deprecated.
<code class="docutils literal notranslate"><span class="pre">sample</span></code> and <code class="docutils literal notranslate"><span class="pre">score</span></code> or <code class="docutils literal notranslate"><span class="pre">predict</span></code> should be used instead.</p></li>
<li><p>attribute <code class="docutils literal notranslate"><span class="pre">_scores</span></code> and <code class="docutils literal notranslate"><span class="pre">_pvalues</span></code> in univariate feature selection
objects are now deprecated.
<code class="docutils literal notranslate"><span class="pre">scores_</span></code> or <code class="docutils literal notranslate"><span class="pre">pvalues_</span></code> should be used instead.</p></li>
<li><p>In <code class="xref py py-class docutils literal notranslate"><span class="pre">LogisticRegression</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">LinearSVC</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">SVC</span></code> and
<code class="xref py py-class docutils literal notranslate"><span class="pre">NuSVC</span></code>, the <code class="docutils literal notranslate"><span class="pre">class_weight</span></code> parameter is now an initialization
parameter, not a parameter to fit. This makes grid searches
over this parameter possible.</p></li>
<li><p>LFW <code class="docutils literal notranslate"><span class="pre">data</span></code> is now always shape <code class="docutils literal notranslate"><span class="pre">(n_samples,</span> <span class="pre">n_features)</span></code> to be
consistent with the Olivetti faces dataset. Use <code class="docutils literal notranslate"><span class="pre">images</span></code> and
<code class="docutils literal notranslate"><span class="pre">pairs</span></code> attribute to access the natural images shapes instead.</p></li>
<li><p>In <a class="reference internal" href="../modules/generated/sklearn.svm.LinearSVC.html#sklearn.svm.LinearSVC" title="sklearn.svm.LinearSVC"><code class="xref py py-class docutils literal notranslate"><span class="pre">svm.LinearSVC</span></code></a>, the meaning of the <code class="docutils literal notranslate"><span class="pre">multi_class</span></code> parameter
changed.  Options now are <code class="docutils literal notranslate"><span class="pre">'ovr'</span></code> and <code class="docutils literal notranslate"><span class="pre">'crammer_singer'</span></code>, with
<code class="docutils literal notranslate"><span class="pre">'ovr'</span></code> being the default.  This does not change the default behavior
but hopefully is less confusing.</p></li>
<li><p>Class <code class="xref py py-class docutils literal notranslate"><span class="pre">feature_selection.text.Vectorizer</span></code> is deprecated and
replaced by <code class="xref py py-class docutils literal notranslate"><span class="pre">feature_selection.text.TfidfVectorizer</span></code>.</p></li>
<li><p>The preprocessor / analyzer nested structure for text feature
extraction has been removed. All those features are
now directly passed as flat constructor arguments
to <code class="xref py py-class docutils literal notranslate"><span class="pre">feature_selection.text.TfidfVectorizer</span></code> and
<code class="xref py py-class docutils literal notranslate"><span class="pre">feature_selection.text.CountVectorizer</span></code>, in particular the
following parameters are now used:</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">analyzer</span></code> can be <code class="docutils literal notranslate"><span class="pre">'word'</span></code> or <code class="docutils literal notranslate"><span class="pre">'char'</span></code> to switch the default
analysis scheme, or use a specific python callable (as previously).</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">tokenizer</span></code> and <code class="docutils literal notranslate"><span class="pre">preprocessor</span></code> have been introduced to make it
still possible to customize those steps with the new API.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">input</span></code> explicitly control how to interpret the sequence passed to
<code class="docutils literal notranslate"><span class="pre">fit</span></code> and <code class="docutils literal notranslate"><span class="pre">predict</span></code>: filenames, file objects or direct (byte or
Unicode) strings.</p></li>
<li><p>charset decoding is explicit and strict by default.</p></li>
<li><p>the <code class="docutils literal notranslate"><span class="pre">vocabulary</span></code>, fitted or not is now stored in the
<code class="docutils literal notranslate"><span class="pre">vocabulary_</span></code> attribute to be consistent with the project
conventions.</p></li>
<li><p>Class <code class="xref py py-class docutils literal notranslate"><span class="pre">feature_selection.text.TfidfVectorizer</span></code> now derives directly
from <code class="xref py py-class docutils literal notranslate"><span class="pre">feature_selection.text.CountVectorizer</span></code> to make grid
search trivial.</p></li>
<li><p>methods <code class="docutils literal notranslate"><span class="pre">rvs</span></code> in <code class="xref py py-class docutils literal notranslate"><span class="pre">_BaseHMM</span></code> module are now deprecated.
<code class="docutils literal notranslate"><span class="pre">sample</span></code> should be used instead.</p></li>
<li><p>Beam pruning option in <code class="xref py py-class docutils literal notranslate"><span class="pre">_BaseHMM</span></code> module is removed since it is
difficult to be Cythonized. If you are interested, you can look in the
history codes by git.</p></li>
<li><p>The SVMlight format loader now supports files with both zero-based and
one-based column indices, since both occur “in the wild”.</p></li>
<li><p>Arguments in class <code class="xref py py-class docutils literal notranslate"><span class="pre">ShuffleSplit</span></code> are now consistent with
<code class="xref py py-class docutils literal notranslate"><span class="pre">StratifiedShuffleSplit</span></code>. Arguments <code class="docutils literal notranslate"><span class="pre">test_fraction</span></code> and
<code class="docutils literal notranslate"><span class="pre">train_fraction</span></code> are deprecated and renamed to <code class="docutils literal notranslate"><span class="pre">test_size</span></code> and
<code class="docutils literal notranslate"><span class="pre">train_size</span></code> and can accept both <code class="docutils literal notranslate"><span class="pre">float</span></code> and <code class="docutils literal notranslate"><span class="pre">int</span></code>.</p></li>
<li><p>Arguments in class <code class="xref py py-class docutils literal notranslate"><span class="pre">Bootstrap</span></code> are now consistent with
<code class="xref py py-class docutils literal notranslate"><span class="pre">StratifiedShuffleSplit</span></code>. Arguments <code class="docutils literal notranslate"><span class="pre">n_test</span></code> and
<code class="docutils literal notranslate"><span class="pre">n_train</span></code> are deprecated and renamed to <code class="docutils literal notranslate"><span class="pre">test_size</span></code> and
<code class="docutils literal notranslate"><span class="pre">train_size</span></code> and can accept both <code class="docutils literal notranslate"><span class="pre">float</span></code> and <code class="docutils literal notranslate"><span class="pre">int</span></code>.</p></li>
<li><p>Argument <code class="docutils literal notranslate"><span class="pre">p</span></code> added to classes in <a class="reference internal" href="../modules/neighbors.html#neighbors"><span class="std std-ref">Nearest Neighbors</span></a> to specify an
arbitrary Minkowski metric for nearest neighbors searches.</p></li>
</ul>
</div>
<div class="section" id="id5">
<h2>People<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
<blockquote>
<div><ul class="simple">
<li><p>282  <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a></p></li>
<li><p>239  <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a></p></li>
<li><p>198  <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>129  <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>114  <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p>103  Clay Woolam</p></li>
<li><p>96  <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a></p></li>
<li><p>88  <a class="reference external" href="https://github.com/jaquesgrobler">Jaques Grobler</a></p></li>
<li><p>82  <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>50  <a class="reference external" href="https://team.inria.fr/parietal/bertrand-thirions-page">Bertrand Thirion</a></p></li>
<li><p>42  <a class="reference external" href="https://twitter.com/robertlayton">Robert Layton</a></p></li>
<li><p>28  flyingimmidev</p></li>
<li><p>26  <a class="reference external" href="https://staff.washington.edu/jakevdp/">Jake Vanderplas</a></p></li>
<li><p>26  Shiqiao Du</p></li>
<li><p>21  <a class="reference external" href="https://www.mit.edu/~satra/">Satrajit Ghosh</a></p></li>
<li><p>17  <a class="reference external" href="https://davidmarek.cz/">David Marek</a></p></li>
<li><p>17  <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a></p></li>
<li><p>14  <a class="reference external" href="https://vene.ro/">Vlad Niculae</a></p></li>
<li><p>11  Yannick Schwartz</p></li>
<li><p>10  <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a></p></li>
<li><p>9  fcostin</p></li>
<li><p>7  Nick Wilson</p></li>
<li><p>5  Adrien Gaidon</p></li>
<li><p>5  <a class="reference external" href="https://twitter.com/npinto">Nicolas Pinto</a></p></li>
<li><p>4  <a class="reference external" href="http://www-etud.iro.umontreal.ca/~wardefar/">David Warde-Farley</a></p></li>
<li><p>5  Nelle Varoquaux</p></li>
<li><p>5  Emmanuelle Gouillart</p></li>
<li><p>3  Joonas Sillanpää</p></li>
<li><p>3  Paolo Losi</p></li>
<li><p>2  Charles McCarthy</p></li>
<li><p>2  Roy Hyunjin Han</p></li>
<li><p>2  Scott White</p></li>
<li><p>2  ibayer</p></li>
<li><p>1  Brandyn White</p></li>
<li><p>1  Carlos Scheidegger</p></li>
<li><p>1  Claire Revillet</p></li>
<li><p>1  Conrad Lee</p></li>
<li><p>1  <a class="reference external" href="https://sites.google.com/site/duchesnay/home">Edouard Duchesnay</a></p></li>
<li><p>1  Jan Hendrik Metzen</p></li>
<li><p>1  Meng Xinfan</p></li>
<li><p>1  <a class="reference external" href="https://www.zinkov.com/">Rob Zinkov</a></p></li>
<li><p>1  Shiqiao</p></li>
<li><p>1  Udi Weinsberg</p></li>
<li><p>1  Virgile Fritsch</p></li>
<li><p>1  Xinfan Meng</p></li>
<li><p>1  Yaroslav Halchenko</p></li>
<li><p>1  jansoe</p></li>
<li><p>1  Leon Palafox</p></li>
</ul>
</div></blockquote>
</div>
</div>
<div class="section" id="version-0-10">
<span id="changes-0-10"></span><h1>Version 0.10<a class="headerlink" href="#version-0-10" title="Permalink to this headline">¶</a></h1>
<p><strong>January 11, 2012</strong></p>
<div class="section" id="id6">
<h2>Changelog<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Python 2.5 compatibility was dropped; the minimum Python version needed
to use scikit-learn is now 2.6.</p></li>
<li><p><a class="reference internal" href="../modules/covariance.html#sparse-inverse-covariance"><span class="std std-ref">Sparse inverse covariance</span></a> estimation using the graph Lasso, with
associated cross-validated estimator, by <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>New <a class="reference internal" href="../modules/tree.html#tree"><span class="std std-ref">Tree</span></a> module by <a class="reference external" href="http://personal.ee.surrey.ac.uk/Personal/B.Holt">Brian Holt</a>, <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a>,
<a class="reference external" href="https://www.mit.edu/~satra/">Satrajit Ghosh</a> and <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>. The module comes with complete
documentation and examples.</p></li>
<li><p>Fixed a bug in the RFE module by <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a> (issue #378).</p></li>
<li><p>Fixed a memory leak in <a class="reference internal" href="../modules/svm.html#svm"><span class="std std-ref">Support Vector Machines</span></a> module by <a class="reference external" href="http://personal.ee.surrey.ac.uk/Personal/B.Holt">Brian Holt</a> (issue #367).</p></li>
<li><p>Faster tests by <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a> and others.</p></li>
<li><p>Silhouette Coefficient cluster analysis evaluation metric added as
<a class="reference internal" href="../modules/generated/sklearn.metrics.silhouette_score.html#sklearn.metrics.silhouette_score" title="sklearn.metrics.silhouette_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.metrics.silhouette_score</span></code></a> by Robert Layton.</p></li>
<li><p>Fixed a bug in <a class="reference internal" href="../modules/clustering.html#k-means"><span class="std std-ref">K-means</span></a> in the handling of the <code class="docutils literal notranslate"><span class="pre">n_init</span></code> parameter:
the clustering algorithm used to be run <code class="docutils literal notranslate"><span class="pre">n_init</span></code> times but the last
solution was retained instead of the best solution by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>.</p></li>
<li><p>Minor refactoring in <a class="reference internal" href="../modules/sgd.html#sgd"><span class="std std-ref">Stochastic Gradient Descent</span></a> module; consolidated dense and sparse
predict methods; Enhanced test time performance by converting model
parameters to fortran-style arrays after fitting (only multi-class).</p></li>
<li><p>Adjusted Mutual Information metric added as
<a class="reference internal" href="../modules/generated/sklearn.metrics.adjusted_mutual_info_score.html#sklearn.metrics.adjusted_mutual_info_score" title="sklearn.metrics.adjusted_mutual_info_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.metrics.adjusted_mutual_info_score</span></code></a> by Robert Layton.</p></li>
<li><p>Models like SVC/SVR/LinearSVC/LogisticRegression from libsvm/liblinear
now support scaling of C regularization parameter by the number of
samples by <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.</p></li>
<li><p>New <a class="reference internal" href="../modules/ensemble.html#ensemble"><span class="std std-ref">Ensemble Methods</span></a> module by <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a> and
<a class="reference external" href="http://personal.ee.surrey.ac.uk/Personal/B.Holt">Brian Holt</a>. The module comes with the random forest algorithm and the
extra-trees method, along with documentation and examples.</p></li>
<li><p><a class="reference internal" href="../modules/outlier_detection.html#outlier-detection"><span class="std std-ref">Novelty and Outlier Detection</span></a>: outlier and novelty detection, by
<a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a>.</p></li>
<li><p><a class="reference internal" href="../modules/kernel_approximation.html#kernel-approximation"><span class="std std-ref">Kernel Approximation</span></a>: a transform implementing kernel
approximation for fast SGD on non-linear kernels by
<a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>Fixed a bug due to atom swapping in <a class="reference internal" href="../modules/linear_model.html#omp"><span class="std std-ref">Orthogonal Matching Pursuit (OMP)</span></a> by <a class="reference external" href="https://vene.ro/">Vlad Niculae</a>.</p></li>
<li><p><a class="reference internal" href="../modules/decomposition.html#sparsecoder"><span class="std std-ref">Sparse coding with a precomputed dictionary</span></a> by <a class="reference external" href="https://vene.ro/">Vlad Niculae</a>.</p></li>
<li><p><a class="reference internal" href="../modules/clustering.html#mini-batch-kmeans"><span class="std std-ref">Mini Batch K-Means</span></a> performance improvements by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>.</p></li>
<li><p><a class="reference internal" href="../modules/clustering.html#k-means"><span class="std std-ref">K-means</span></a> support for sparse matrices by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p>Improved documentation for developers and for the <a class="reference internal" href="../modules/classes.html#module-sklearn.utils" title="sklearn.utils"><code class="xref py py-mod docutils literal notranslate"><span class="pre">sklearn.utils</span></code></a>
module, by <a class="reference external" href="https://staff.washington.edu/jakevdp/">Jake Vanderplas</a>.</p></li>
<li><p>Vectorized 20newsgroups dataset loader
(<a class="reference internal" href="../modules/generated/sklearn.datasets.fetch_20newsgroups_vectorized.html#sklearn.datasets.fetch_20newsgroups_vectorized" title="sklearn.datasets.fetch_20newsgroups_vectorized"><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.datasets.fetch_20newsgroups_vectorized</span></code></a>) by
<a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p><a class="reference internal" href="../modules/multiclass.html#multiclass"><span class="std std-ref">Multiclass and multilabel algorithms</span></a> by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>Utilities for fast computation of mean and variance for sparse matrices
by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p>Make <a class="reference internal" href="../modules/generated/sklearn.preprocessing.scale.html#sklearn.preprocessing.scale" title="sklearn.preprocessing.scale"><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.preprocessing.scale</span></code></a> and
<code class="xref py py-class docutils literal notranslate"><span class="pre">sklearn.preprocessing.Scaler</span></code> work on sparse matrices by
<a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>Feature importances using decision trees and/or forest of trees,
by <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
<li><p>Parallel implementation of forests of randomized trees by
<a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
<li><p><code class="xref py py-class docutils literal notranslate"><span class="pre">sklearn.cross_validation.ShuffleSplit</span></code> can subsample the train
sets as well as the test sets by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>.</p></li>
<li><p>Errors in the build of the documentation fixed by <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
</ul>
</div>
<div class="section" id="id7">
<h2>API changes summary<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
<p>Here are the code migration instructions when upgrading from scikit-learn
version 0.9:</p>
<ul>
<li><p>Some estimators that may overwrite their inputs to save memory previously
had <code class="docutils literal notranslate"><span class="pre">overwrite_</span></code> parameters; these have been replaced with <code class="docutils literal notranslate"><span class="pre">copy_</span></code>
parameters with exactly the opposite meaning.</p>
<p>This particularly affects some of the estimators in <code class="xref py py-mod docutils literal notranslate"><span class="pre">linear_model</span></code>.
The default behavior is still to copy everything passed in.</p>
</li>
<li><p>The SVMlight dataset loader <a class="reference internal" href="../modules/generated/sklearn.datasets.load_svmlight_file.html#sklearn.datasets.load_svmlight_file" title="sklearn.datasets.load_svmlight_file"><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.datasets.load_svmlight_file</span></code></a> no
longer supports loading two files at once; use <code class="docutils literal notranslate"><span class="pre">load_svmlight_files</span></code>
instead. Also, the (unused) <code class="docutils literal notranslate"><span class="pre">buffer_mb</span></code> parameter is gone.</p></li>
<li><p>Sparse estimators in the <a class="reference internal" href="../modules/sgd.html#sgd"><span class="std std-ref">Stochastic Gradient Descent</span></a> module use dense parameter vector
<code class="docutils literal notranslate"><span class="pre">coef_</span></code> instead of <code class="docutils literal notranslate"><span class="pre">sparse_coef_</span></code>. This significantly improves
test time performance.</p></li>
<li><p>The <a class="reference internal" href="../modules/covariance.html#covariance"><span class="std std-ref">Covariance estimation</span></a> module now has a robust estimator of
covariance, the Minimum Covariance Determinant estimator.</p></li>
<li><p>Cluster evaluation metrics in <code class="xref py py-mod docutils literal notranslate"><span class="pre">metrics.cluster</span></code> have been refactored
but the changes are backwards compatible. They have been moved to the
<code class="xref py py-mod docutils literal notranslate"><span class="pre">metrics.cluster.supervised</span></code>, along with
<code class="xref py py-mod docutils literal notranslate"><span class="pre">metrics.cluster.unsupervised</span></code> which contains the Silhouette
Coefficient.</p></li>
<li><p>The <code class="docutils literal notranslate"><span class="pre">permutation_test_score</span></code> function now behaves the same way as
<code class="docutils literal notranslate"><span class="pre">cross_val_score</span></code> (i.e. uses the mean score across the folds.)</p></li>
<li><p>Cross Validation generators now use integer indices (<code class="docutils literal notranslate"><span class="pre">indices=True</span></code>)
by default instead of boolean masks. This make it more intuitive to
use with sparse matrix data.</p></li>
<li><p>The functions used for sparse coding, <code class="docutils literal notranslate"><span class="pre">sparse_encode</span></code> and
<code class="docutils literal notranslate"><span class="pre">sparse_encode_parallel</span></code> have been combined into
<a class="reference internal" href="../modules/generated/sklearn.decomposition.sparse_encode.html#sklearn.decomposition.sparse_encode" title="sklearn.decomposition.sparse_encode"><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.decomposition.sparse_encode</span></code></a>, and the shapes of the arrays
have been transposed for consistency with the matrix factorization setting,
as opposed to the regression setting.</p></li>
<li><p>Fixed an off-by-one error in the SVMlight/LibSVM file format handling;
files generated using <a class="reference internal" href="../modules/generated/sklearn.datasets.dump_svmlight_file.html#sklearn.datasets.dump_svmlight_file" title="sklearn.datasets.dump_svmlight_file"><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.datasets.dump_svmlight_file</span></code></a> should be
re-generated. (They should continue to work, but accidentally had one
extra column of zeros prepended.)</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">BaseDictionaryLearning</span></code> class replaced by <code class="docutils literal notranslate"><span class="pre">SparseCodingMixin</span></code>.</p></li>
<li><p><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.utils.extmath.fast_svd</span></code> has been renamed
<a class="reference internal" href="../modules/generated/sklearn.utils.extmath.randomized_svd.html#sklearn.utils.extmath.randomized_svd" title="sklearn.utils.extmath.randomized_svd"><code class="xref py py-func docutils literal notranslate"><span class="pre">sklearn.utils.extmath.randomized_svd</span></code></a> and the default
oversampling is now fixed to 10 additional random vectors instead
of doubling the number of components to extract. The new behavior
follows the reference paper.</p></li>
</ul>
</div>
<div class="section" id="id8">
<h2>People<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
<p>The following people contributed to scikit-learn since last release:</p>
<blockquote>
<div><ul class="simple">
<li><p>246  <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a></p></li>
<li><p>242  <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>220  <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a></p></li>
<li><p>183  <a class="reference external" href="http://personal.ee.surrey.ac.uk/Personal/B.Holt">Brian Holt</a></p></li>
<li><p>166  <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>144  <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a></p></li>
<li><p>73  <a class="reference external" href="https://vene.ro/">Vlad Niculae</a></p></li>
<li><p>65  <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a></p></li>
<li><p>64  <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a></p></li>
<li><p>60  Robert Layton</p></li>
<li><p>55  <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p>52  <a class="reference external" href="https://staff.washington.edu/jakevdp/">Jake Vanderplas</a></p></li>
<li><p>44  Noel Dawe</p></li>
<li><p>38  <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>24  <a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a></p></li>
<li><p>23  <a class="reference external" href="https://www.mit.edu/~satra/">Satrajit Ghosh</a></p></li>
<li><p>3  Jan Hendrik Metzen</p></li>
<li><p>3  Kenneth C. Arnold</p></li>
<li><p>3  Shiqiao Du</p></li>
<li><p>3  Tim Sheerman-Chase</p></li>
<li><p>3  <a class="reference external" href="http://www.onerussian.com/">Yaroslav Halchenko</a></p></li>
<li><p>2  Bala Subrahmanyam Varanasi</p></li>
<li><p>2  DraXus</p></li>
<li><p>2  Michael Eickenberg</p></li>
<li><p>1  Bogdan Trach</p></li>
<li><p>1  Félix-Antoine Fortin</p></li>
<li><p>1  Juan Manuel Caicedo Carvajal</p></li>
<li><p>1  Nelle Varoquaux</p></li>
<li><p>1  <a class="reference external" href="https://twitter.com/npinto">Nicolas Pinto</a></p></li>
<li><p>1  Tiziano Zito</p></li>
<li><p>1  Xinfan Meng</p></li>
</ul>
</div></blockquote>
</div>
</div>
<div class="section" id="version-0-9">
<span id="changes-0-9"></span><h1>Version 0.9<a class="headerlink" href="#version-0-9" title="Permalink to this headline">¶</a></h1>
<p><strong>September 21, 2011</strong></p>
<p>scikit-learn 0.9 was released on September 2011, three months after the 0.8
release and includes the new modules <a class="reference internal" href="../modules/manifold.html#manifold"><span class="std std-ref">Manifold learning</span></a>, <a class="reference internal" href="../modules/mixture.html#dirichlet-process"><span class="std std-ref">The Dirichlet Process</span></a>
as well as several new algorithms and documentation improvements.</p>
<p>This release also includes the dictionary-learning work developed by
<a class="reference external" href="https://vene.ro/">Vlad Niculae</a> as part of the <a class="reference external" href="https://developers.google.com/open-source/gsoc">Google Summer of Code</a> program.</p>
<p><div style="text-align: center; margin: 0px 0 -5px 0;"> <a class="reference external" href="../auto_examples/linear_model/plot_omp.html"><img alt="banner2" src="../_images/sphx_glr_plot_omp_thumb1.png" /></a> <a class="reference external" href="../auto_examples/manifold/plot_compare_methods.html"><img alt="banner1" src="../_images/sphx_glr_plot_compare_methods_thumb1.png" /></a> <a class="reference external" href="../auto_examples/decomposition/plot_kernel_pca.html"><img alt="banner3" src="../_images/sphx_glr_plot_kernel_pca_thumb1.png" /></a> </div></p>
<div class="section" id="id9">
<h2>Changelog<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>New <a class="reference internal" href="../modules/manifold.html#manifold"><span class="std std-ref">Manifold learning</span></a> module by <a class="reference external" href="https://staff.washington.edu/jakevdp/">Jake Vanderplas</a> and
<a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>.</p></li>
<li><p>New <a class="reference internal" href="../modules/mixture.html#dirichlet-process"><span class="std std-ref">Dirichlet Process</span></a> Gaussian Mixture
Model by <a class="reference external" href="http://atpassos.me">Alexandre Passos</a></p></li>
<li><p><a class="reference internal" href="../modules/neighbors.html#neighbors"><span class="std std-ref">Nearest Neighbors</span></a> module refactoring by <a class="reference external" href="https://staff.washington.edu/jakevdp/">Jake Vanderplas</a> :
general refactoring, support for sparse matrices in input, speed and
documentation improvements. See the next section for a full list of API
changes.</p></li>
<li><p>Improvements on the <a class="reference internal" href="../modules/feature_selection.html#feature-selection"><span class="std std-ref">Feature selection</span></a> module by
<a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a> : refactoring of the RFE classes, documentation
rewrite, increased efficiency and minor API changes.</p></li>
<li><p><a class="reference internal" href="../modules/decomposition.html#sparsepca"><span class="std std-ref">Sparse principal components analysis (SparsePCA and MiniBatchSparsePCA)</span></a> by <a class="reference external" href="https://vene.ro/">Vlad Niculae</a>, <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a> and
<a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>Printing an estimator now behaves independently of architectures
and Python version thanks to <a class="reference external" href="https://github.com/JeanKossaifi">Jean Kossaifi</a>.</p></li>
<li><p><a class="reference internal" href="../datasets/index.html#libsvm-loader"><span class="std std-ref">Loader for libsvm/svmlight format</span></a> by
<a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a> and <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a></p></li>
<li><p>Documentation improvements: thumbnails in
example gallery by <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>.</p></li>
<li><p>Important bugfixes in <a class="reference internal" href="../modules/svm.html#svm"><span class="std std-ref">Support Vector Machines</span></a> module (segfaults, bad
performance) by <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>.</p></li>
<li><p>Added <a class="reference internal" href="../modules/naive_bayes.html#multinomial-naive-bayes"><span class="std std-ref">Multinomial Naive Bayes</span></a> and <a class="reference internal" href="../modules/naive_bayes.html#bernoulli-naive-bayes"><span class="std std-ref">Bernoulli Naive Bayes</span></a>
by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a></p></li>
<li><p>Text feature extraction optimizations by Lars Buitinck</p></li>
<li><p>Chi-Square feature selection
(<code class="xref py py-func docutils literal notranslate"><span class="pre">feature_selection.univariate_selection.chi2</span></code>) by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p><a class="reference internal" href="../datasets/index.html#sample-generators"><span class="std std-ref">Generated datasets</span></a> module refactoring by <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a></p></li>
<li><p><a class="reference internal" href="../modules/multiclass.html#multiclass"><span class="std std-ref">Multiclass and multilabel algorithms</span></a> by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p>Ball tree rewrite by <a class="reference external" href="https://staff.washington.edu/jakevdp/">Jake Vanderplas</a></p></li>
<li><p>Implementation of <a class="reference internal" href="../modules/clustering.html#dbscan"><span class="std std-ref">DBSCAN</span></a> algorithm by Robert Layton</p></li>
<li><p>Kmeans predict and transform by Robert Layton</p></li>
<li><p>Preprocessing module refactoring by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>Faster mean shift by Conrad Lee</p></li>
<li><p>New <code class="docutils literal notranslate"><span class="pre">Bootstrap</span></code>, <a class="reference internal" href="../modules/cross_validation.html#shufflesplit"><span class="std std-ref">Random permutations cross-validation a.k.a. Shuffle &amp; Split</span></a> and various other
improvements in cross validation schemes by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a> and
<a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>Adjusted Rand index and V-Measure clustering evaluation metrics by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.linear_model.OrthogonalMatchingPursuit.html#sklearn.linear_model.OrthogonalMatchingPursuit" title="sklearn.linear_model.OrthogonalMatchingPursuit"><code class="xref py py-class docutils literal notranslate"><span class="pre">Orthogonal</span> <span class="pre">Matching</span> <span class="pre">Pursuit</span></code></a> by <a class="reference external" href="https://vene.ro/">Vlad Niculae</a></p></li>
<li><p>Added 2D-patch extractor utilities in the <a class="reference internal" href="../modules/feature_extraction.html#feature-extraction"><span class="std std-ref">Feature extraction</span></a> module by <a class="reference external" href="https://vene.ro/">Vlad Niculae</a></p></li>
<li><p>Implementation of <a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoLarsCV.html#sklearn.linear_model.LassoLarsCV" title="sklearn.linear_model.LassoLarsCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LassoLarsCV</span></code></a>
(cross-validated Lasso solver using the Lars algorithm) and
<a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoLarsIC.html#sklearn.linear_model.LassoLarsIC" title="sklearn.linear_model.LassoLarsIC"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LassoLarsIC</span></code></a> (BIC/AIC model
selection in Lars) by <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>
and <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>Scalability improvements to <a class="reference internal" href="../modules/generated/sklearn.metrics.roc_curve.html#sklearn.metrics.roc_curve" title="sklearn.metrics.roc_curve"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.roc_curve</span></code></a> by Olivier Hervieu</p></li>
<li><p>Distance helper functions <code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.pairwise.pairwise_distances</span></code>
and <a class="reference internal" href="../modules/generated/sklearn.metrics.pairwise.pairwise_kernels.html#sklearn.metrics.pairwise.pairwise_kernels" title="sklearn.metrics.pairwise.pairwise_kernels"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.pairwise.pairwise_kernels</span></code></a> by Robert Layton</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.cluster.MiniBatchKMeans.html#sklearn.cluster.MiniBatchKMeans" title="sklearn.cluster.MiniBatchKMeans"><code class="xref py py-class docutils literal notranslate"><span class="pre">Mini-Batch</span> <span class="pre">K-Means</span></code></a> by Nelle Varoquaux and Peter Prettenhofer.</p></li>
<li><p>mldata utilities by Pietro Berkes.</p></li>
<li><p><a class="reference internal" href="../datasets/index.html#olivetti-faces-dataset"><span class="std std-ref">The Olivetti faces dataset</span></a> by <a class="reference external" href="http://www-etud.iro.umontreal.ca/~wardefar/">David Warde-Farley</a>.</p></li>
</ul>
</div>
<div class="section" id="id10">
<h2>API changes summary<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2>
<p>Here are the code migration instructions when upgrading from scikit-learn
version 0.8:</p>
<ul>
<li><p>The <code class="docutils literal notranslate"><span class="pre">scikits.learn</span></code> package was renamed <code class="docutils literal notranslate"><span class="pre">sklearn</span></code>. There is
still a <code class="docutils literal notranslate"><span class="pre">scikits.learn</span></code> package alias for backward compatibility.</p>
<p>Third-party projects with a dependency on scikit-learn 0.9+ should
upgrade their codebase. For instance, under Linux / MacOSX just run
(make a backup first!):</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">find</span> <span class="o">-</span><span class="n">name</span> <span class="s2">&quot;*.py&quot;</span> <span class="o">|</span> <span class="n">xargs</span> <span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="s1">&#39;s/</span><span class="se">\b</span><span class="s1">scikits.learn</span><span class="se">\b</span><span class="s1">/sklearn/g&#39;</span>
</pre></div>
</div>
</li>
<li><p>Estimators no longer accept model parameters as <code class="docutils literal notranslate"><span class="pre">fit</span></code> arguments:
instead all parameters must be only be passed as constructor
arguments or using the now public <code class="docutils literal notranslate"><span class="pre">set_params</span></code> method inherited
from <a class="reference internal" href="../modules/generated/sklearn.base.BaseEstimator.html#sklearn.base.BaseEstimator" title="sklearn.base.BaseEstimator"><code class="xref py py-class docutils literal notranslate"><span class="pre">base.BaseEstimator</span></code></a>.</p>
<p>Some estimators can still accept keyword arguments on the <code class="docutils literal notranslate"><span class="pre">fit</span></code>
but this is restricted to data-dependent values (e.g. a Gram matrix
or an affinity matrix that are precomputed from the <code class="docutils literal notranslate"><span class="pre">X</span></code> data matrix.</p>
</li>
<li><p>The <code class="docutils literal notranslate"><span class="pre">cross_val</span></code> package has been renamed to <code class="docutils literal notranslate"><span class="pre">cross_validation</span></code>
although there is also a <code class="docutils literal notranslate"><span class="pre">cross_val</span></code> package alias in place for
backward compatibility.</p>
<p>Third-party projects with a dependency on scikit-learn 0.9+ should
upgrade their codebase. For instance, under Linux / MacOSX just run
(make a backup first!):</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">find</span> <span class="o">-</span><span class="n">name</span> <span class="s2">&quot;*.py&quot;</span> <span class="o">|</span> <span class="n">xargs</span> <span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="s1">&#39;s/</span><span class="se">\b</span><span class="s1">cross_val</span><span class="se">\b</span><span class="s1">/cross_validation/g&#39;</span>
</pre></div>
</div>
</li>
<li><p>The <code class="docutils literal notranslate"><span class="pre">score_func</span></code> argument of the
<code class="docutils literal notranslate"><span class="pre">sklearn.cross_validation.cross_val_score</span></code> function is now expected
to accept <code class="docutils literal notranslate"><span class="pre">y_test</span></code> and <code class="docutils literal notranslate"><span class="pre">y_predicted</span></code> as only arguments for
classification and regression tasks or <code class="docutils literal notranslate"><span class="pre">X_test</span></code> for unsupervised
estimators.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">gamma</span></code> parameter for support vector machine algorithms is set
to <code class="docutils literal notranslate"><span class="pre">1</span> <span class="pre">/</span> <span class="pre">n_features</span></code> by default, instead of <code class="docutils literal notranslate"><span class="pre">1</span> <span class="pre">/</span> <span class="pre">n_samples</span></code>.</p></li>
<li><p>The <code class="docutils literal notranslate"><span class="pre">sklearn.hmm</span></code> has been marked as orphaned: it will be removed
from scikit-learn in version 0.11 unless someone steps up to
contribute documentation, examples and fix lurking numerical
stability issues.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">sklearn.neighbors</span></code> has been made into a submodule.  The two previously
available estimators, <code class="docutils literal notranslate"><span class="pre">NeighborsClassifier</span></code> and <code class="docutils literal notranslate"><span class="pre">NeighborsRegressor</span></code>
have been marked as deprecated.  Their functionality has been divided
among five new classes: <code class="docutils literal notranslate"><span class="pre">NearestNeighbors</span></code> for unsupervised neighbors
searches, <code class="docutils literal notranslate"><span class="pre">KNeighborsClassifier</span></code> &amp; <code class="docutils literal notranslate"><span class="pre">RadiusNeighborsClassifier</span></code>
for supervised classification problems, and <code class="docutils literal notranslate"><span class="pre">KNeighborsRegressor</span></code>
&amp; <code class="docutils literal notranslate"><span class="pre">RadiusNeighborsRegressor</span></code> for supervised regression problems.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">sklearn.ball_tree.BallTree</span></code> has been moved to
<code class="docutils literal notranslate"><span class="pre">sklearn.neighbors.BallTree</span></code>.  Using the former will generate a warning.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">sklearn.linear_model.LARS()</span></code> and related classes (LassoLARS,
LassoLARSCV, etc.) have been renamed to
<code class="docutils literal notranslate"><span class="pre">sklearn.linear_model.Lars()</span></code>.</p></li>
<li><p>All distance metrics and kernels in <code class="docutils literal notranslate"><span class="pre">sklearn.metrics.pairwise</span></code> now have a Y
parameter, which by default is None. If not given, the result is the distance
(or kernel similarity) between each sample in Y. If given, the result is the
pairwise distance (or kernel similarity) between samples in X to Y.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">sklearn.metrics.pairwise.l1_distance</span></code> is now called <code class="docutils literal notranslate"><span class="pre">manhattan_distance</span></code>,
and by default returns the pairwise distance. For the component wise distance,
set the parameter <code class="docutils literal notranslate"><span class="pre">sum_over_features</span></code> to <code class="docutils literal notranslate"><span class="pre">False</span></code>.</p></li>
</ul>
<p>Backward compatibility package aliases and other deprecated classes and
functions will be removed in version 0.11.</p>
</div>
<div class="section" id="id11">
<h2>People<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h2>
<p>38 people contributed to this release.</p>
<ul class="simple">
<li><p>387  <a class="reference external" href="https://vene.ro/">Vlad Niculae</a></p></li>
<li><p>320  <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>192  <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a></p></li>
<li><p>179  <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>168  <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a> (<a class="reference external" href="https://www.inria.fr/">INRIA</a>, <a class="reference external" href="http://parietal.saclay.inria.fr/">Parietal Team</a>)</p></li>
<li><p>127  <a class="reference external" href="https://staff.washington.edu/jakevdp/">Jake Vanderplas</a></p></li>
<li><p>120  <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p>85  <a class="reference external" href="http://atpassos.me">Alexandre Passos</a></p></li>
<li><p>67  <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>57  <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a></p></li>
<li><p>56  <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a></p></li>
<li><p>42  Robert Layton</p></li>
<li><p>38  Nelle Varoquaux</p></li>
<li><p>32  <a class="reference external" href="https://github.com/JeanKossaifi">Jean Kossaifi</a></p></li>
<li><p>30  Conrad Lee</p></li>
<li><p>22  Pietro Berkes</p></li>
<li><p>18  andy</p></li>
<li><p>17  David Warde-Farley</p></li>
<li><p>12  Brian Holt</p></li>
<li><p>11  Robert</p></li>
<li><p>8  Amit Aides</p></li>
<li><p>8  <a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a></p></li>
<li><p>7  <a class="reference external" href="http://www.onerussian.com/">Yaroslav Halchenko</a></p></li>
<li><p>6  Salvatore Masecchia</p></li>
<li><p>5  Paolo Losi</p></li>
<li><p>4  Vincent Schut</p></li>
<li><p>3  Alexis Metaireau</p></li>
<li><p>3  Bryan Silverthorn</p></li>
<li><p>3  <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a></p></li>
<li><p>2  Minwoo Jake Lee</p></li>
<li><p>1  Emmanuelle Gouillart</p></li>
<li><p>1  Keith Goodman</p></li>
<li><p>1  Lucas Wiman</p></li>
<li><p>1  <a class="reference external" href="https://twitter.com/npinto">Nicolas Pinto</a></p></li>
<li><p>1  Thouis (Ray) Jones</p></li>
<li><p>1  Tim Sheerman-Chase</p></li>
</ul>
</div>
</div>
<div class="section" id="version-0-8">
<span id="changes-0-8"></span><h1>Version 0.8<a class="headerlink" href="#version-0-8" title="Permalink to this headline">¶</a></h1>
<p><strong>May 11, 2011</strong></p>
<p>scikit-learn 0.8 was released on May 2011, one month after the first
“international” <a class="reference external" href="https://github.com/scikit-learn/scikit-learn/wiki/Upcoming-events">scikit-learn coding sprint</a> and is
marked by the inclusion of important modules: <a class="reference internal" href="../modules/clustering.html#hierarchical-clustering"><span class="std std-ref">Hierarchical clustering</span></a>,
<a class="reference internal" href="../modules/cross_decomposition.html#cross-decomposition"><span class="std std-ref">Cross decomposition</span></a>, <a class="reference internal" href="../modules/decomposition.html#nmf"><span class="std std-ref">Non-negative matrix factorization (NMF or NNMF)</span></a>, initial support for Python 3 and by important
enhancements and bug fixes.</p>
<div class="section" id="id12">
<h2>Changelog<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h2>
<p>Several new modules where introduced during this release:</p>
<ul class="simple">
<li><p>New <a class="reference internal" href="../modules/clustering.html#hierarchical-clustering"><span class="std std-ref">Hierarchical clustering</span></a> module by Vincent Michel,
<a class="reference external" href="https://team.inria.fr/parietal/bertrand-thirions-page">Bertrand Thirion</a>, <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a> and <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>.</p></li>
<li><p><a class="reference internal" href="../modules/decomposition.html#kernel-pca"><span class="std std-ref">Kernel PCA</span></a> implementation by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p><a class="reference internal" href="../datasets/index.html#labeled-faces-in-the-wild-dataset"><span class="std std-ref">The Labeled Faces in the Wild face recognition dataset</span></a> by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>.</p></li>
<li><p>New <a class="reference internal" href="../modules/cross_decomposition.html#cross-decomposition"><span class="std std-ref">Cross decomposition</span></a> module by <a class="reference external" href="https://sites.google.com/site/duchesnay/home">Edouard Duchesnay</a>.</p></li>
<li><p><a class="reference internal" href="../modules/decomposition.html#nmf"><span class="std std-ref">Non-negative matrix factorization (NMF or NNMF)</span></a> module <a class="reference external" href="https://vene.ro/">Vlad Niculae</a></p></li>
<li><p>Implementation of the <a class="reference internal" href="../modules/covariance.html#oracle-approximating-shrinkage"><span class="std std-ref">Oracle Approximating Shrinkage</span></a> algorithm by
<a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a> in the <a class="reference internal" href="../modules/covariance.html#covariance"><span class="std std-ref">Covariance estimation</span></a> module.</p></li>
</ul>
<p>Some other modules benefited from significant improvements or cleanups.</p>
<ul class="simple">
<li><p>Initial support for Python 3: builds and imports cleanly,
some modules are usable while others have failing tests by <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>.</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.decomposition.PCA.html#sklearn.decomposition.PCA" title="sklearn.decomposition.PCA"><code class="xref py py-class docutils literal notranslate"><span class="pre">decomposition.PCA</span></code></a> is now usable from the Pipeline object by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>.</p></li>
<li><p>Guide <a class="reference internal" href="../developers/performance.html#performance-howto"><span class="std std-ref">How to optimize for speed</span></a> by <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>.</p></li>
<li><p>Fixes for memory leaks in libsvm bindings, 64-bit safer BallTree by Lars Buitinck.</p></li>
<li><p>bug and style fixing in <a class="reference internal" href="../modules/clustering.html#k-means"><span class="std std-ref">K-means</span></a> algorithm by Jan Schlüter.</p></li>
<li><p>Add attribute converged to Gaussian Mixture Models by Vincent Schut.</p></li>
<li><p>Implemented <code class="docutils literal notranslate"><span class="pre">transform</span></code>, <code class="docutils literal notranslate"><span class="pre">predict_log_proba</span></code> in
<a class="reference internal" href="../modules/generated/sklearn.discriminant_analysis.LinearDiscriminantAnalysis.html#sklearn.discriminant_analysis.LinearDiscriminantAnalysis" title="sklearn.discriminant_analysis.LinearDiscriminantAnalysis"><code class="xref py py-class docutils literal notranslate"><span class="pre">discriminant_analysis.LinearDiscriminantAnalysis</span></code></a> By <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p>Refactoring in the <a class="reference internal" href="../modules/svm.html#svm"><span class="std std-ref">Support Vector Machines</span></a> module and bug fixes by <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>,
<a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a> and Amit Aides.</p></li>
<li><p>Refactored SGD module (removed code duplication, better variable naming),
added interface for sample weight by <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a>.</p></li>
<li><p>Wrapped BallTree with Cython by Thouis (Ray) Jones.</p></li>
<li><p>Added function <a class="reference internal" href="../modules/generated/sklearn.svm.l1_min_c.html#sklearn.svm.l1_min_c" title="sklearn.svm.l1_min_c"><code class="xref py py-func docutils literal notranslate"><span class="pre">svm.l1_min_c</span></code></a> by Paolo Losi.</p></li>
<li><p>Typos, doc style, etc. by <a class="reference external" href="http://www.onerussian.com/">Yaroslav Halchenko</a>, <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>,
<a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>, Yann Malet, <a class="reference external" href="https://twitter.com/npinto">Nicolas Pinto</a>, Lars Buitinck and
<a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>.</p></li>
</ul>
</div>
<div class="section" id="id13">
<h2>People<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h2>
<p>People that made this release possible preceded by number of commits:</p>
<ul class="simple">
<li><p>159  <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>96  <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>96  <a class="reference external" href="https://vene.ro/">Vlad Niculae</a></p></li>
<li><p>94  <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a></p></li>
<li><p>36  <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>32  Paolo Losi</p></li>
<li><p>31  <a class="reference external" href="https://sites.google.com/site/duchesnay/home">Edouard Duchesnay</a></p></li>
<li><p>30  <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p>25  <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a></p></li>
<li><p>22  <a class="reference external" href="https://twitter.com/npinto">Nicolas Pinto</a></p></li>
<li><dl class="simple">
<dt>11  <a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a></dt><dd><ul>
<li><p>7  Lars Buitinck</p></li>
<li><p>6  Vincent Michel</p></li>
<li><p>5  <a class="reference external" href="https://team.inria.fr/parietal/bertrand-thirions-page">Bertrand Thirion</a></p></li>
<li><p>4  Thouis (Ray) Jones</p></li>
<li><p>4  Vincent Schut</p></li>
<li><p>3  Jan Schlüter</p></li>
<li><p>2  Julien Miotte</p></li>
<li><p>2  <a class="reference external" href="http://brainvisa.info/biblio/lnao/en/Author/PERROT-M.html">Matthieu Perrot</a></p></li>
<li><p>2  Yann Malet</p></li>
<li><p>2  <a class="reference external" href="http://www.onerussian.com/">Yaroslav Halchenko</a></p></li>
<li><p>1  Amit Aides</p></li>
<li><p>1  <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a></p></li>
<li><p>1  Feth Arezki</p></li>
<li><p>1  Meng Xinfan</p></li>
</ul>
</dd>
</dl>
</li>
</ul>
</div>
</div>
<div class="section" id="version-0-7">
<span id="changes-0-7"></span><h1>Version 0.7<a class="headerlink" href="#version-0-7" title="Permalink to this headline">¶</a></h1>
<p><strong>March 2, 2011</strong></p>
<p>scikit-learn 0.7 was released in March 2011, roughly three months
after the 0.6 release. This release is marked by the speed
improvements in existing algorithms like k-Nearest Neighbors and
K-Means algorithm and by the inclusion of an efficient algorithm for
computing the Ridge Generalized Cross Validation solution. Unlike the
preceding release, no new modules where added to this release.</p>
<div class="section" id="id14">
<h2>Changelog<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Performance improvements for Gaussian Mixture Model sampling [Jan
Schlüter].</p></li>
<li><p>Implementation of efficient leave-one-out cross-validated Ridge in
<a class="reference internal" href="../modules/generated/sklearn.linear_model.RidgeCV.html#sklearn.linear_model.RidgeCV" title="sklearn.linear_model.RidgeCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.RidgeCV</span></code></a> [<a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>]</p></li>
<li><p>Better handling of collinearity and early stopping in
<a class="reference internal" href="../modules/generated/sklearn.linear_model.lars_path.html#sklearn.linear_model.lars_path" title="sklearn.linear_model.lars_path"><code class="xref py py-func docutils literal notranslate"><span class="pre">linear_model.lars_path</span></code></a> [<a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a> and <a class="reference external" href="http://fa.bianp.net">Fabian
Pedregosa</a>].</p></li>
<li><p>Fixes for liblinear ordering of labels and sign of coefficients
[Dan Yamins, Paolo Losi, <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a> and <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>].</p></li>
<li><p>Performance improvements for Nearest Neighbors algorithm in
high-dimensional spaces [<a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>].</p></li>
<li><p>Performance improvements for <a class="reference internal" href="../modules/generated/sklearn.cluster.KMeans.html#sklearn.cluster.KMeans" title="sklearn.cluster.KMeans"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.KMeans</span></code></a> [<a class="reference external" href="http://gael-varoquaux.info">Gael
Varoquaux</a> and <a class="reference external" href="http://www-etud.iro.umontreal.ca/~bergstrj/">James Bergstra</a>].</p></li>
<li><p>Sanity checks for SVM-based classes [<a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>].</p></li>
<li><p>Refactoring of <code class="xref py py-class docutils literal notranslate"><span class="pre">neighbors.NeighborsClassifier</span></code> and
<a class="reference internal" href="../modules/generated/sklearn.neighbors.kneighbors_graph.html#sklearn.neighbors.kneighbors_graph" title="sklearn.neighbors.kneighbors_graph"><code class="xref py py-func docutils literal notranslate"><span class="pre">neighbors.kneighbors_graph</span></code></a>: added different algorithms for
the k-Nearest Neighbor Search and implemented a more stable
algorithm for finding barycenter weights. Also added some
developer documentation for this module, see
<a class="reference external" href="https://github.com/scikit-learn/scikit-learn/wiki/Neighbors-working-notes">notes_neighbors</a> for more information [<a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>].</p></li>
<li><p>Documentation improvements: Added <code class="xref py py-class docutils literal notranslate"><span class="pre">pca.RandomizedPCA</span></code> and
<a class="reference internal" href="../modules/generated/sklearn.linear_model.LogisticRegression.html#sklearn.linear_model.LogisticRegression" title="sklearn.linear_model.LogisticRegression"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LogisticRegression</span></code></a> to the class
reference. Also added references of matrices used for clustering
and other fixes [<a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>, <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>, <a class="reference external" href="http://www.mblondel.org">Mathieu
Blondel</a>, <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a>, Virgile Fritsch , Emmanuelle
Gouillart]</p></li>
<li><p>Binded decision_function in classes that make use of <a class="reference external" href="https://www.csie.ntu.edu.tw/~cjlin/liblinear/">liblinear</a>,
dense and sparse variants, like <a class="reference internal" href="../modules/generated/sklearn.svm.LinearSVC.html#sklearn.svm.LinearSVC" title="sklearn.svm.LinearSVC"><code class="xref py py-class docutils literal notranslate"><span class="pre">svm.LinearSVC</span></code></a> or
<a class="reference internal" href="../modules/generated/sklearn.linear_model.LogisticRegression.html#sklearn.linear_model.LogisticRegression" title="sklearn.linear_model.LogisticRegression"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LogisticRegression</span></code></a> [<a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>].</p></li>
<li><p>Performance and API improvements to
<code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.euclidean_distances</span></code> and to
<code class="xref py py-class docutils literal notranslate"><span class="pre">pca.RandomizedPCA</span></code> [<a class="reference external" href="http://www-etud.iro.umontreal.ca/~bergstrj/">James Bergstra</a>].</p></li>
<li><p>Fix compilation issues under NetBSD [Kamel Ibn Hassen Derouiche]</p></li>
<li><p>Allow input sequences of different lengths in <code class="xref py py-class docutils literal notranslate"><span class="pre">hmm.GaussianHMM</span></code>
[<a class="reference external" href="https://www.ee.columbia.edu/~ronw/">Ron Weiss</a>].</p></li>
<li><p>Fix bug in affinity propagation caused by incorrect indexing [Xinfan Meng]</p></li>
</ul>
</div>
<div class="section" id="id15">
<h2>People<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h2>
<p>People that made this release possible preceded by number of commits:</p>
<ul class="simple">
<li><p>85  <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a></p></li>
<li><p>67  <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p>20  <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>19  <a class="reference external" href="http://www-etud.iro.umontreal.ca/~bergstrj/">James Bergstra</a></p></li>
<li><p>14  Dan Yamins</p></li>
<li><p>13  <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>12  <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>4  <a class="reference external" href="https://sites.google.com/site/duchesnay/home">Edouard Duchesnay</a></p></li>
<li><p>4  <a class="reference external" href="https://www.ee.columbia.edu/~ronw/">Ron Weiss</a></p></li>
<li><p>2  Satrajit Ghosh</p></li>
<li><p>2  Vincent Dubourg</p></li>
<li><p>1  Emmanuelle Gouillart</p></li>
<li><p>1  Kamel Ibn Hassen Derouiche</p></li>
<li><p>1  Paolo Losi</p></li>
<li><p>1  VirgileFritsch</p></li>
<li><p>1  <a class="reference external" href="http://www.onerussian.com/">Yaroslav Halchenko</a></p></li>
<li><p>1  Xinfan Meng</p></li>
</ul>
</div>
</div>
<div class="section" id="version-0-6">
<span id="changes-0-6"></span><h1>Version 0.6<a class="headerlink" href="#version-0-6" title="Permalink to this headline">¶</a></h1>
<p><strong>December 21, 2010</strong></p>
<p>scikit-learn 0.6 was released on December 2010. It is marked by the
inclusion of several new modules and a general renaming of old
ones. It is also marked by the inclusion of new example, including
applications to real-world datasets.</p>
<div class="section" id="id16">
<h2>Changelog<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>New <a class="reference external" href="http://scikit-learn.org/stable/modules/sgd.html">stochastic gradient</a> descent
module by Peter Prettenhofer. The module comes with complete
documentation and examples.</p></li>
<li><p>Improved svm module: memory consumption has been reduced by 50%,
heuristic to automatically set class weights, possibility to
assign weights to samples (see
<a class="reference internal" href="../auto_examples/svm/plot_weighted_samples.html#sphx-glr-auto-examples-svm-plot-weighted-samples-py"><span class="std std-ref">SVM: Weighted samples</span></a> for an example).</p></li>
<li><p>New <a class="reference internal" href="../modules/gaussian_process.html#gaussian-process"><span class="std std-ref">Gaussian Processes</span></a> module by Vincent Dubourg. This module
also has great documentation and some very neat examples. See
example_gaussian_process_plot_gp_regression.py or
example_gaussian_process_plot_gp_probabilistic_classification_after_regression.py
for a taste of what can be done.</p></li>
<li><p>It is now possible to use liblinear’s Multi-class SVC (option
multi_class in <a class="reference internal" href="../modules/generated/sklearn.svm.LinearSVC.html#sklearn.svm.LinearSVC" title="sklearn.svm.LinearSVC"><code class="xref py py-class docutils literal notranslate"><span class="pre">svm.LinearSVC</span></code></a>)</p></li>
<li><p>New features and performance improvements of text feature
extraction.</p></li>
<li><p>Improved sparse matrix support, both in main classes
(<code class="xref py py-class docutils literal notranslate"><span class="pre">grid_search.GridSearchCV</span></code>) as in modules
sklearn.svm.sparse and sklearn.linear_model.sparse.</p></li>
<li><p>Lots of cool new examples and a new section that uses real-world
datasets was created. These include:
<a class="reference internal" href="../auto_examples/applications/plot_face_recognition.html#sphx-glr-auto-examples-applications-plot-face-recognition-py"><span class="std std-ref">Faces recognition example using eigenfaces and SVMs</span></a>,
<a class="reference internal" href="../auto_examples/applications/plot_species_distribution_modeling.html#sphx-glr-auto-examples-applications-plot-species-distribution-modeling-py"><span class="std std-ref">Species distribution modeling</span></a>,
<a class="reference internal" href="../auto_examples/applications/svm_gui.html#sphx-glr-auto-examples-applications-svm-gui-py"><span class="std std-ref">Libsvm GUI</span></a>,
<a class="reference internal" href="../auto_examples/applications/wikipedia_principal_eigenvector.html#sphx-glr-auto-examples-applications-wikipedia-principal-eigenvector-py"><span class="std std-ref">Wikipedia principal eigenvector</span></a> and
others.</p></li>
<li><p>Faster <a class="reference internal" href="../modules/linear_model.html#least-angle-regression"><span class="std std-ref">Least Angle Regression</span></a> algorithm. It is now 2x
faster than the R version on worst case and up to 10x times faster
on some cases.</p></li>
<li><p>Faster coordinate descent algorithm. In particular, the full path
version of lasso (<a class="reference internal" href="../modules/generated/sklearn.linear_model.lasso_path.html#sklearn.linear_model.lasso_path" title="sklearn.linear_model.lasso_path"><code class="xref py py-func docutils literal notranslate"><span class="pre">linear_model.lasso_path</span></code></a>) is more than
200x times faster than before.</p></li>
<li><p>It is now possible to get probability estimates from a
<a class="reference internal" href="../modules/generated/sklearn.linear_model.LogisticRegression.html#sklearn.linear_model.LogisticRegression" title="sklearn.linear_model.LogisticRegression"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LogisticRegression</span></code></a> model.</p></li>
<li><p>module renaming: the glm module has been renamed to linear_model,
the gmm module has been included into the more general mixture
model and the sgd module has been included in linear_model.</p></li>
<li><p>Lots of bug fixes and documentation improvements.</p></li>
</ul>
</div>
<div class="section" id="id17">
<h2>People<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h2>
<p>People that made this release possible preceded by number of commits:</p>
<blockquote>
<div><ul class="simple">
<li><p>207  <a class="reference external" href="https://twitter.com/ogrisel">Olivier Grisel</a></p></li>
<li><p>167 <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a></p></li>
<li><p>97 <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a></p></li>
<li><p>68 <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a></p></li>
<li><p>59  <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a></p></li>
<li><p>55  <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a></p></li>
<li><p>33  Vincent Dubourg</p></li>
<li><p>21  <a class="reference external" href="https://www.ee.columbia.edu/~ronw/">Ron Weiss</a></p></li>
<li><p>9  Bertrand Thirion</p></li>
<li><p>3  <a class="reference external" href="http://atpassos.me">Alexandre Passos</a></p></li>
<li><p>3  Anne-Laure Fouque</p></li>
<li><p>2  Ronan Amicel</p></li>
<li><p>1 <a class="reference external" href="https://osdf.github.io">Christian Osendorfer</a></p></li>
</ul>
</div></blockquote>
</div>
</div>
<div class="section" id="version-0-5">
<span id="changes-0-5"></span><h1>Version 0.5<a class="headerlink" href="#version-0-5" title="Permalink to this headline">¶</a></h1>
<p><strong>October 11, 2010</strong></p>
<div class="section" id="id18">
<h2>Changelog<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="new-classes">
<h2>New classes<a class="headerlink" href="#new-classes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Support for sparse matrices in some classifiers of modules
<code class="docutils literal notranslate"><span class="pre">svm</span></code> and <code class="docutils literal notranslate"><span class="pre">linear_model</span></code> (see <code class="xref py py-class docutils literal notranslate"><span class="pre">svm.sparse.SVC</span></code>,
<code class="xref py py-class docutils literal notranslate"><span class="pre">svm.sparse.SVR</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">svm.sparse.LinearSVC</span></code>,
<code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.sparse.Lasso</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.sparse.ElasticNet</span></code>)</p></li>
<li><p>New <a class="reference internal" href="../modules/generated/sklearn.pipeline.Pipeline.html#sklearn.pipeline.Pipeline" title="sklearn.pipeline.Pipeline"><code class="xref py py-class docutils literal notranslate"><span class="pre">pipeline.Pipeline</span></code></a> object to compose different estimators.</p></li>
<li><p>Recursive Feature Elimination routines in module
<a class="reference internal" href="../modules/feature_selection.html#feature-selection"><span class="std std-ref">Feature selection</span></a>.</p></li>
<li><p>Addition of various classes capable of cross validation in the
linear_model module (<a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoCV.html#sklearn.linear_model.LassoCV" title="sklearn.linear_model.LassoCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LassoCV</span></code></a>, <a class="reference internal" href="../modules/generated/sklearn.linear_model.ElasticNetCV.html#sklearn.linear_model.ElasticNetCV" title="sklearn.linear_model.ElasticNetCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.ElasticNetCV</span></code></a>,
etc.).</p></li>
<li><p>New, more efficient LARS algorithm implementation. The Lasso
variant of the algorithm is also implemented. See
<a class="reference internal" href="../modules/generated/sklearn.linear_model.lars_path.html#sklearn.linear_model.lars_path" title="sklearn.linear_model.lars_path"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.lars_path</span></code></a>, <a class="reference internal" href="../modules/generated/sklearn.linear_model.Lars.html#sklearn.linear_model.Lars" title="sklearn.linear_model.Lars"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.Lars</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoLars.html#sklearn.linear_model.LassoLars" title="sklearn.linear_model.LassoLars"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LassoLars</span></code></a>.</p></li>
<li><p>New Hidden Markov Models module (see classes
<code class="xref py py-class docutils literal notranslate"><span class="pre">hmm.GaussianHMM</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">hmm.MultinomialHMM</span></code>,
<code class="xref py py-class docutils literal notranslate"><span class="pre">hmm.GMMHMM</span></code>)</p></li>
<li><p>New module feature_extraction (see <a class="reference internal" href="../modules/classes.html#feature-extraction-ref"><span class="std std-ref">class reference</span></a>)</p></li>
<li><p>New FastICA algorithm in module sklearn.fastica</p></li>
</ul>
</div>
<div class="section" id="documentation">
<h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Improved documentation for many modules, now separating
narrative documentation from the class reference. As an example,
see <a class="reference external" href="http://scikit-learn.org/stable/modules/svm.html">documentation for the SVM module</a> and the
complete <a class="reference external" href="http://scikit-learn.org/stable/modules/classes.html">class reference</a>.</p></li>
</ul>
</div>
<div class="section" id="fixes">
<h2>Fixes<a class="headerlink" href="#fixes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>API changes: adhere variable names to PEP-8, give more
meaningful names.</p></li>
<li><p>Fixes for svm module to run on a shared memory context
(multiprocessing).</p></li>
<li><p>It is again possible to generate latex (and thus PDF) from the
sphinx docs.</p></li>
</ul>
</div>
<div class="section" id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>new examples using some of the mlcomp datasets:
<code class="docutils literal notranslate"><span class="pre">sphx_glr_auto_examples_mlcomp_sparse_document_classification.py</span></code> (since removed) and
<a class="reference internal" href="../auto_examples/text/plot_document_classification_20newsgroups.html#sphx-glr-auto-examples-text-plot-document-classification-20newsgroups-py"><span class="std std-ref">Classification of text documents using sparse features</span></a></p></li>
<li><p>Many more examples. <a class="reference external" href="http://scikit-learn.org/stable/auto_examples/index.html">See here</a>
the full list of examples.</p></li>
</ul>
</div>
<div class="section" id="external-dependencies">
<h2>External dependencies<a class="headerlink" href="#external-dependencies" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Joblib is now a dependency of this package, although it is
shipped with (sklearn.externals.joblib).</p></li>
</ul>
</div>
<div class="section" id="removed-modules">
<h2>Removed modules<a class="headerlink" href="#removed-modules" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Module ann (Artificial Neural Networks) has been removed from
the distribution. Users wanting this sort of algorithms should
take a look into pybrain.</p></li>
</ul>
</div>
<div class="section" id="misc">
<h2>Misc<a class="headerlink" href="#misc" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>New sphinx theme for the web page.</p></li>
</ul>
</div>
<div class="section" id="authors">
<h2>Authors<a class="headerlink" href="#authors" title="Permalink to this headline">¶</a></h2>
<p>The following is a list of authors for this release, preceded by
number of commits:</p>
<blockquote>
<div><ul class="simple">
<li><p>262  Fabian Pedregosa</p></li>
<li><p>240  Gael Varoquaux</p></li>
<li><p>149  Alexandre Gramfort</p></li>
<li><p>116  Olivier Grisel</p></li>
<li><p>40  Vincent Michel</p></li>
<li><p>38  Ron Weiss</p></li>
<li><p>23  Matthieu Perrot</p></li>
<li><p>10  Bertrand Thirion</p></li>
<li><p>7  Yaroslav Halchenko</p></li>
<li><p>9  VirgileFritsch</p></li>
<li><p>6  Edouard Duchesnay</p></li>
<li><p>4  Mathieu Blondel</p></li>
<li><p>1  Ariel Rokem</p></li>
<li><p>1  Matthieu Brucher</p></li>
</ul>
</div></blockquote>
</div>
</div>
<div class="section" id="version-0-4">
<h1>Version 0.4<a class="headerlink" href="#version-0-4" title="Permalink to this headline">¶</a></h1>
<p><strong>August 26, 2010</strong></p>
<div class="section" id="id19">
<h2>Changelog<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h2>
<p>Major changes in this release include:</p>
<ul class="simple">
<li><p>Coordinate Descent algorithm (Lasso, ElasticNet) refactoring &amp;
speed improvements (roughly 100x times faster).</p></li>
<li><p>Coordinate Descent Refactoring (and bug fixing) for consistency
with R’s package GLMNET.</p></li>
<li><p>New metrics module.</p></li>
<li><p>New GMM module contributed by Ron Weiss.</p></li>
<li><p>Implementation of the LARS algorithm (without Lasso variant for now).</p></li>
<li><p>feature_selection module redesign.</p></li>
<li><p>Migration to GIT as version control system.</p></li>
<li><p>Removal of obsolete attrselect module.</p></li>
<li><p>Rename of private compiled extensions (added underscore).</p></li>
<li><p>Removal of legacy unmaintained code.</p></li>
<li><p>Documentation improvements (both docstring and rst).</p></li>
<li><p>Improvement of the build system to (optionally) link with MKL.
Also, provide a lite BLAS implementation in case no system-wide BLAS is
found.</p></li>
<li><p>Lots of new examples.</p></li>
<li><p>Many, many bug fixes …</p></li>
</ul>
</div>
<div class="section" id="id20">
<h2>Authors<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h2>
<p>The committer list for this release is the following (preceded by number
of commits):</p>
<blockquote>
<div><ul class="simple">
<li><p>143  Fabian Pedregosa</p></li>
<li><p>35  Alexandre Gramfort</p></li>
<li><p>34  Olivier Grisel</p></li>
<li><p>11  Gael Varoquaux</p></li>
<li><p>5  Yaroslav Halchenko</p></li>
<li><p>2  Vincent Michel</p></li>
<li><p>1  Chris Filo Gorgolewski</p></li>
</ul>
</div></blockquote>
</div>
</div>
<div class="section" id="earlier-versions">
<h1>Earlier versions<a class="headerlink" href="#earlier-versions" title="Permalink to this headline">¶</a></h1>
<p>Earlier versions included contributions by Fred Mailhot, David Cooke,
David Huard, Dave Morrill, Ed Schofield, Travis Oliphant, Pearu Peterson.</p>
</div>


      </div>
    <div class="container">
      <footer class="sk-content-footer">
            &copy; 2007 - 2019, scikit-learn developers (BSD License).
          <a href="../_sources/whats_new/older_versions.rst.txt" rel="nofollow">Show this page source</a>
      </footer>
    </div>
  </div>
</div>
<script src="../_static/js/vendor/bootstrap.min.js"></script>

<script>
    window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
    ga('create', 'UA-22606712-2', 'auto');
    ga('set', 'anonymizeIp', true);
    ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>


<script>
$(document).ready(function() {
    /* Add a [>>>] button on the top-right corner of code samples to hide
     * the >>> and ... prompts and the output and thus make the code
     * copyable. */
    var div = $('.highlight-python .highlight,' +
                '.highlight-python3 .highlight,' +
                '.highlight-pycon .highlight,' +
		'.highlight-default .highlight')
    var pre = div.find('pre');

    // get the styles from the current theme
    pre.parent().parent().css('position', 'relative');
    var hide_text = 'Hide prompts and outputs';
    var show_text = 'Show prompts and outputs';

    // create and add the button to all the code blocks that contain >>>
    div.each(function(index) {
        var jthis = $(this);
        if (jthis.find('.gp').length > 0) {
            var button = $('<span class="copybutton">&gt;&gt;&gt;</span>');
            button.attr('title', hide_text);
            button.data('hidden', 'false');
            jthis.prepend(button);
        }
        // tracebacks (.gt) contain bare text elements that need to be
        // wrapped in a span to work with .nextUntil() (see later)
        jthis.find('pre:has(.gt)').contents().filter(function() {
            return ((this.nodeType == 3) && (this.data.trim().length > 0));
        }).wrap('<span>');
    });

    // define the behavior of the button when it's clicked
    $('.copybutton').click(function(e){
        e.preventDefault();
        var button = $(this);
        if (button.data('hidden') === 'false') {
            // hide the code output
            button.parent().find('.go, .gp, .gt').hide();
            button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'hidden');
            button.css('text-decoration', 'line-through');
            button.attr('title', show_text);
            button.data('hidden', 'true');
        } else {
            // show the code output
            button.parent().find('.go, .gp, .gt').show();
            button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'visible');
            button.css('text-decoration', 'none');
            button.attr('title', hide_text);
            button.data('hidden', 'false');
        }
    });

	/*** Add permalink buttons next to glossary terms ***/
	$('dl.glossary > dt[id]').append(function() {
		return ('<a class="headerlink" href="#' +
			    this.getAttribute('id') +
			    '" title="Permalink to this term">¶</a>');
	});
  /*** Hide navbar when scrolling down ***/
  // Returns true when headerlink target matches hash in url
  (function() {
    hashTargetOnTop = function() {
        var hash = window.location.hash;
        if ( hash.length < 2 ) { return false; }

        var target = document.getElementById( hash.slice(1) );
        if ( target === null ) { return false; }

        var top = target.getBoundingClientRect().top;
        return (top < 2) && (top > -2);
    };

    // Hide navbar on load if hash target is on top
    var navBar = document.getElementById("navbar");
    var navBarToggler = document.getElementById("sk-navbar-toggler");
    var navBarHeightHidden = "-" + navBar.getBoundingClientRect().height + "px";
    var $window = $(window);

    hideNavBar = function() {
        navBar.style.top = navBarHeightHidden;
    };

    showNavBar = function() {
        navBar.style.top = "0";
    }

    if (hashTargetOnTop()) {
        hideNavBar()
    }

    var prevScrollpos = window.pageYOffset;
    hideOnScroll = function(lastScrollTop) {
        if (($window.width() < 768) && (navBarToggler.getAttribute("aria-expanded") === 'true')) {
            return;
        }
        if (lastScrollTop > 2 && (prevScrollpos <= lastScrollTop) || hashTargetOnTop()){
            hideNavBar()
        } else {
            showNavBar()
        }
        prevScrollpos = lastScrollTop;
    };

    /*** high preformance scroll event listener***/
    var raf = window.requestAnimationFrame ||
        window.webkitRequestAnimationFrame ||
        window.mozRequestAnimationFrame ||
        window.msRequestAnimationFrame ||
        window.oRequestAnimationFrame;
    var lastScrollTop = $window.scrollTop();

    if (raf) {
        loop();
    }

    function loop() {
        var scrollTop = $window.scrollTop();
        if (lastScrollTop === scrollTop) {
            raf(loop);
            return;
        } else {
            lastScrollTop = scrollTop;
            hideOnScroll(lastScrollTop);
            raf(loop);
        }
    }
  })();
});

</script>
    
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
    
</body>
</html>